Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Visual Editor (VE) » A simple PDE query
A simple PDE query [message #615088] Fri, 23 February 2007 18:26
Jeff is currently offline JeffFriend
Messages: 21
Registered: July 2009
Junior Member
Hi all,

I apologize if this is a naive query and I am not used to asking for
simple things like this but I dont have not time this time around, please
help me.

I would like to know if I could do the below mentioned by writing an
eclipse plug-in, I will start reading about it from tomms, justwanted to
know if its possible and the best way to go about it(good books, any tips
etc):

For a particular file extension lets say .xyz I want to give a separate
mode like thing(not necessarily a mode) where, when a user selects a
particular identifier like 'vCnt' in that file and presses a
key-combination defined by me for ex: alt+ctrl+k, the selected text i.e
'vCnt', in this case, will be appended with a custom string and printed in
the next line in the same file.
for ex: print(vCnt); (Print() is the custom string in this case.)

After this I will do some stuff like running a batch file etc which I
already have. When the user comes out of this mode I will have to revert
the original file which had no statments like: print(vCnt); which I
mentioned above.

Please help me with this. I really dont need a readymade solution, but
some good guidance as to what should I be doing. Though I dont know
plug-in dev, I think this is a sinple enough task to do if I can invest a
couple of days time.


Thank you very much for your time,
Jeff.

P.S:I have done something similar but not using a plug-in but by using
external java code which directly manipulates the file, this requires more
work on the part of the user and also not an efficient solution.
Previous Topic:Lockfile is created on opening a visual class using visual editor
Next Topic:A simple PDE query
Goto Forum:
  


Current Time: Sun Dec 21 02:10:17 GMT 2014

Powered by FUDForum. Page generated in 0.01463 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software