Replacement Editor for Momentics IDE

Is it possible to plug in vim/gvim into the IDE framework? I am also
interested in integrating Understand for C/C++ and Source Publisher C/C++.

Larry

Some guy has written a vim style editor for Eclipse. It’s not free, but
it’s also not expensive.

http://www.satokar.com/viplugin/index.php

Lawrence R. Sweet wrote:

Is it possible to plug in vim/gvim into the IDE framework? I am also
interested in integrating Understand for C/C++ and Source Publisher C/C++.

Larry


cburgess@qnx.com

Lawrence R. Sweet <lsweet@fct.ca> wrote:

Is it possible to plug in vim/gvim into the IDE framework? I am also
interested in integrating Understand for C/C++ and Source Publisher C/C++.

You can also make the IDE run an external editor instead of an internal
editor – but you lose a lot of the “integrated” features, such as go to
line for errors and stuff like that.

To do this, you would go through:
Windows → preferences → Workbench → File Associations.

-David

David Gibbs
QNX Training Services
dagibbs@qnx.com

Thanks. This is very encouraging.


“Colin Burgess” <cburgess@qnx.com> wrote in message
news:cjurl1$bk8$1@inn.qnx.com

Some guy has written a vim style editor for Eclipse. It’s not free, but
it’s also not expensive.

http://www.satokar.com/viplugin/index.php

Lawrence R. Sweet wrote:
Is it possible to plug in vim/gvim into the IDE framework? I am also
interested in integrating Understand for C/C++ and Source Publisher
C/C++.

Larry


cburgess@qnx.com

David Gibbs wrote:

Lawrence R. Sweet <> lsweet@fct.ca> > wrote:

Is it possible to plug in vim/gvim into the IDE framework? I am also
interested in integrating Understand for C/C++ and Source Publisher C/C++.


You can also make the IDE run an external editor instead of an internal
editor – but you lose a lot of the “integrated” features, such as go to
line for errors and stuff like that.

To do this, you would go through:
Windows → preferences → Workbench → File Associations.

-David

It would also be nice to edit or view a file thats not part of a project
inside of the IDE. Its convienent if you need to copy and paste from
several files but don’t them in your project.

Eric Norton <enorton_nospam@nospam_fct.ca> wrote:

It would also be nice to edit or view a file thats not part of a project
inside of the IDE. Its convienent if you need to copy and paste from
several files but don’t them in your project.

Yes, it would. But, from what I recall when I looked into it, that
limitation is core eclipse, one of the basic assumptions of the Eclipse
“project” metaphor.

-David

David Gibbs
QNX Training Services
dagibbs@qnx.com

David Gibbs wrote:

Eric Norton <enorton_nospam@nospam_fct.ca> wrote:


It would also be nice to edit or view a file thats not part of a project
inside of the IDE. Its convienent if you need to copy and paste from
several files but don’t them in your project.


Yes, it would. But, from what I recall when I looked into it, that
limitation is core eclipse, one of the basic assumptions of the Eclipse
“project” metaphor.

-David

Other then a few small things like that, I’m pretty impressed with the
IDE and all of the features it offers.

Eric Norton <enorton_nospam@nospam_fct.ca> wrote:


It would also be nice to edit or view a file thats not part of a project
inside of the IDE. Its convienent if you need to copy and paste from
several files but don’t them in your project.

Also, under at least some platforms (I’ve tested Neutrino and Windows
hosted), you can cut from an external editor and paste into the IDE
editor. (Under Windows I did it from notepad, under QNX I did it
from vi in a pterm.)

This may solve the problem.

Also, another trick, is to create a simple project, unclick the
“User Default” for project contents, then give it the root of
the path you want to use the IDE to edit files from. (It probably
can’t be a path that overlaps any other project.)

Then, use the navigator view to browse that tree, and the IDE to
edit files.

-David

David Gibbs
QNX Training Services
dagibbs@qnx.com

Also, another trick, is to create a simple project, unclick the
“User Default” for project contents, then give it the root of
the path you want to use the IDE to edit files from. (It probably
can’t be a path that overlaps any other project.)

Then, use the navigator view to browse that tree, and the IDE to
edit files.

That’s exactly what I’ve done, brought in my qnx4 source tree as a
simple project. Now, what would be perfect would be to have two files be
viewable side by side. :slight_smile:

Eric

Eric Norton <enorton_nospam@nospam_fct.ca> wrote:

Also, another trick, is to create a simple project, unclick the
“User Default” for project contents, then give it the root of
the path you want to use the IDE to edit files from. (It probably
can’t be a path that overlaps any other project.)

Then, use the navigator view to browse that tree, and the IDE to
edit files.

That’s exactly what I’ve done, brought in my qnx4 source tree as a
simple project. Now, what would be perfect would be to have two files be
viewable side by side. > :slight_smile:

Um…you can do that too.

Open both files. Click & drag the top bar for the edit (or right-click
on the top bar and select move->editor) and then drag it to the left
side (or right side) of the editor area, where the drag cursor should
change from being a file-folder image to a left-arrow or right-arrow
image, then release the drag (or click the mouse) and you will have
side by side editors.

-David

David Gibbs
QNX Training Services
dagibbs@qnx.com