Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Visual Editor (VE) » A simple PDE query
A simple PDE query [message #136100] Fri, 23 February 2007 18:26 Go to next message
Eclipse UserFriend
Originally posted by: c_attitude.yahoo.com

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.
Re: A simple PDE query [message #136112 is a reply to message #136100] Fri, 23 February 2007 22:46 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

This is the wrong newsgroup. This newsgroup is for the visual editor.

Please use the eclipse.platform newsgroup instead.

--
Thanks,
Rich Kulp
Re: A simple PDE query [message #136122 is a reply to message #136112] Sat, 24 February 2007 15:30 Go to previous message
Eclipse UserFriend
Originally posted by: c_attitude.yahoo.com

Sorry for the wrong post....

Thank you for pointing that out and the reply.

Jeff.
Re: A simple PDE query [message #615089 is a reply to message #136100] Fri, 23 February 2007 22:46 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

This is the wrong newsgroup. This newsgroup is for the visual editor.

Please use the eclipse.platform newsgroup instead.

--
Thanks,
Rich Kulp
Re: A simple PDE query [message #615090 is a reply to message #136112] Sat, 24 February 2007 15:30 Go to previous message
Jeff is currently offline JeffFriend
Messages: 21
Registered: July 2009
Junior Member
Sorry for the wrong post....

Thank you for pointing that out and the reply.

Jeff.
Previous Topic:A simple PDE query
Next Topic:code changes crash VE
Goto Forum:
  


Current Time: Tue Apr 16 05:38:15 GMT 2024

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

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

Back to the top