• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

how can i do that ?

 
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi! all,
i hope that some of u are aware of the way some IDE works with intelligent typing feature. For example you type some object, and IDE automatically shows all it's methods/properties in a list from which u can select anyone.
i want to implement this same feature in the editor for java, which i am making. Means i want to place item list on existing text area.
how can i do that ?
regds
prateek
 
Ranch Hand
Posts: 1492
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Prateek,
You can use a popup menu to perform that. I have not done it however ...
Good Luck,
Manfred
 
Ranch Hand
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You would also need to use the Reflection abilities of Java. Whatever word the cursor is right beside when you type '.', you would need to introspect this class and find out what it's methods and fields are.. so you'd know what to put in your popup menu.
 
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi prateek,
U can use JDeveloper from Oracle corporation or JBuilder to get ur project work. I know u were asking about the MS Visual studio kind of thing. so u can use Jdeveloper , it's good and i like it very much.
bye for now
Rajesh Purohit
INDIA
------------------------------------------------
visit me at www.geocities.com/rajesh_purohit
 
It's a beautiful day in this neighborhood - Fred Rogers. Tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic