[ANN] Console 0.0.1 (as sample for usin FileTypes API in PLUS)
Hello,
This small plugin is may used for executing OS command from IDEA. Just open console, or perform commands in editor of IDEA.
You can use it as sample. This plugin create virtualfile system implementation, file editor implementation and custom file type registration.
If you need for sources, please request me, becouse TWiki site is not allow me to upload sources :(
Plugin is available from Plugin Manager.
Changes:
0.0.1
-
Limit of Consoles by 10 maximum
Settings for charset
Action to open new Console
Console editor support
Thanks!
Please sign in to leave a comment.
Alexey Efimov wrote:
Alexey, I didn't find your email address to make a request. Thanks, Jon
You can look it in Plugin Manager - select Console plugin in your installed
plugins and you see it.
Sorry, that i can't say my email here, i'm afreid of f..n spammers can steal
it...
Thanks!
"Jon Steelman" <jon@cc.gatech.edu> ???????/???????? ? ???????? ?????????:
news:c49dfq$fke$1@is.intellij.net...
allow me to upload sources :(
>
Ok. Are you taking feature requests for Console? If so, can you add
command line recall with up- & down-arrow? Can you add right-click to
paste?
Thanks,
Jon
Yes, thank you, i will support this, sure :)
That you thing about botton area? I thing it not so good for terminal...
>
Not great for terminal, true, but to me it is good enough for a Windows
command prompt if you add those features... as an IDEA junkie, I like to
stay inside of IDEA when it is convenient.
Thanks!
Jon
You reassure me :)
Thanks!
Alexey Efimov wrote:
I get an UnsupportedOperationException when I try to open a console. It
should work in the 'regular' IDEA, right? I'm using 4.0.2
Logfile attached.
CU,
Edwin
2004-03-30 14:38:08,964 INFO - fs.impl.VirtualFileManagerImpl - beforeRefreshStart()
2004-03-30 14:38:08,965 INFO - fs.impl.VirtualFileManagerImpl - afterRefreshFinish()
2004-03-30 14:38:17,853 ERROR - com.intellij.ide.IdeEventQueue - Error during dispatching of java.awt.event.MouseEvent[MOUSE_RELEASED,(71,235),button=1,modifiers=Button1,clickCount=1] on ###overrideRedirect###
2004-03-30 14:38:17,853 ERROR - com.intellij.ide.IdeEventQueue - IntelliJ IDEA 4.0 Build #1179
2004-03-30 14:38:17,853 ERROR - com.intellij.ide.IdeEventQueue - JDK: 1.4.2_03
2004-03-30 14:38:17,853 ERROR - com.intellij.ide.IdeEventQueue - VM: Java HotSpot(TM) Client VM
2004-03-30 14:38:17,853 ERROR - com.intellij.ide.IdeEventQueue - Vendor: Sun Microsystems Inc.
2004-03-30 14:38:17,854 ERROR - com.intellij.ide.IdeEventQueue - OS: Linux
2004-03-30 14:38:17,854 ERROR - com.intellij.ide.IdeEventQueue - Error during dispatching of java.awt.event.MouseEvent[MOUSE_RELEASED,(71,235),button=1,modifiers=Button1,clickCount=1] on ###overrideRedirect###
java.lang.UnsupportedOperationException
at org.intellij.console.vfs.impl.ConsoleFileSystemImpl.createShell(ConsoleFileSystemImpl.java:59)
at org.intellij.console.ConsoleManager$OpenNewConsoleAction.actionPerformed(ConsoleManager.java:68)
at com.intellij.openapi.actionSystem.b.n$b_.actionPerformed(n$b_.java:13)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786)
at com.intellij.openapi.actionSystem.b.n.fireActionPerformed(n.java:55)
at com.intellij.ui.b.a.h.doClick(h.java:157)
at com.intellij.ui.b.a.h.access$300(h.java:124)
at com.intellij.ui.b.a.h$a_.mouseReleased(h$a_.java:3)
at java.awt.Component.processMouseEvent(Component.java:5100)
at java.awt.Component.processEvent(Component.java:4897)
at java.awt.Container.processEvent(Container.java:1569)
at java.awt.Component.dispatchEventImpl(Component.java:3615)
at java.awt.Container.dispatchEventImpl(Container.java:1627)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
at java.awt.Container.dispatchEventImpl(Container.java:1613)
at java.awt.Window.dispatchEventImpl(Window.java:1606)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
at com.intellij.ide.q.b(q.java:36)
at com.intellij.ide.q.a(q.java:34)
at com.intellij.ide.q.dispatchEvent(q.java:48)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
2004-03-30 14:38:19,378 INFO - ject.impl.BaseFileConfigurable - Time to save /home/edwin/code/UDDIPiefje/UDDIPiefje.iml: 0
2004-03-30 14:38:19,382 INFO - ject.impl.BaseFileConfigurable - Time to save /home/edwin/code/UDDIPiefje/UDDIPiefje.ipr: 1
2004-03-30 14:38:19,401 INFO - IDEA-Config - writeExternal(Element element)
Hello, Edwin!
EvO> I get an UnsupportedOperationException when I try to open a
EvO> console. It should work in the 'regular' IDEA, right? I'm using
EvO> 4.0.2
Becouse i not implement it for Linux. Can you help me? That environment
variable for linux hold command shell?
For example, i know that for Windows it "ComSpec"...
Thanks!
--
Alexey Efimov - Java Developer
Tops BI
http://www.topsbi.com
Alexey Efimov wrote:
The environment variable SHELL holds the path to the current shell.
/Kreiger
Hello Christoffer Kreiger Hammarstrom,
C> The environment variable SHELL holds the path to the current shell.
C>
C> /Kreiger
C>
Thanks!
--
Alexey Efimov, Java Developer
TopS BI
Alexey Efimov wrote:
Ah - that explains it 8-)
"SHELL" holds the user's default shell. It may be useful to allow this
to be set in the configuration (defaulting to COMSPEC/SHELL).
CU,
Edwin
Hi!
E> to be set in the configuration (defaulting to COMSPEC/SHELL).
Exactly! :) Thanks for suggestion!
--
Alexey Efimov, Java Developer
TopS BI
Alexei Efimov wrote:
Got another one - would it be possible to the default working directory
to the directory/package selected in the project tree? That would be
really usefull...
CU,
Edwin
Hello Edwin van Ouwerkerk Moria,
E> Got another one - would it be possible to the default working
E> directory to the directory/package selected in the project tree?
Yes, i suppose, but maybe it will have troubles... In any case this maybe must be performed by another action from context menu in project tree?
Now it open in project directory.
Thanks!
--
Alexey Efimov, Java Developer
TopS BI