?
Solved

where do i start if I want to create my own scripting language using a texteditor similar to the one in vba or vb.net where you typ a few letters and then a dot and new letters pop up

Posted on 2015-02-02
4
Medium Priority
?
101 Views
Last Modified: 2015-02-21
i want to build my own library of terms or perhaps I should say a library of objects that include methods and properties. what type of editor can I use to input a list of such objects and members that will generate auto complete for me
0
Comment
Question by:Dov_B
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 25

Expert Comment

by:SStory
ID: 40584686
It depends upon what language you want to write it in. Notepad++ uses Scintilla for example.
It also depends upon licensing model. If GPL then you could get some already written code and modify it and save a lot of work.  If non-GPL, there maybe some freebies to allow you extend (be sure to know the license and legal issues).

As to popping up, it depends upon how complex you want to make it. If fixed, then you could do multithreading where one thread is always seeing what is typed and getting the appropriate properties, etc.. Of you could do a lookup after every period, keeping up with what was typed from the beginning or after the last space and submitting that to something that see what object was used and either reflexively gets the properties from it or somehow returns a list. Then you show a popup combobox or whatever control if you are using a language where you can use controls, or you do a lot of code to draw your own, etc.

You have asked a very vague question and it will be hard to answer without more details.
0
 

Author Comment

by:Dov_B
ID: 40592767
Sorry for delayed response and thanks for your time.
I am creating my own simple scripting language for personal use not to be shared. I would like it to have intellisence and auto complete finding very difficult to to find instructions for notepad++ perhaps you can direct me to a working link many of them appeared to have expired
0
 
LVL 25

Accepted Solution

by:
SStory earned 2000 total points
ID: 40593570
Here is the latest download of the software:
http://notepad-plus-plus.org/download/v6.7.4.html

It is an editor. I was just mentioning that it uses scintilla
http://www.scintilla.org/ to save time on building a text editor.

As to how to use notepad++ I just downloaded and used the online help. I'm not sure that it will pop up and auto complete. I was just mentioning the free codebase that it used to make the editor. It sounded like you wanted to write an editor.  Do you want to write a language? Write an editor? Or write a language and have an editor inspect the objects and auto complete?
0
 
LVL 25

Expert Comment

by:SStory
ID: 40593577
Here is a plugin for notepad++ that does do autocomplete for php classes, so it is obviously possible to do.
http://sourceforge.net/projects/accpc/
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Programmer's Notepad is, one of the best free text editing tools available, simply because the developers appear to have second-guessed every weird problem or issue a programmer is likely to run into. One of these problems is selecting and deleti…
Update (December 2011): Since this article was published, the things have changed for good for Android native developers. The Sequoyah Project (http://www.eclipse.org/sequoyah/) automates most of the tasks discussed in this article. You can even fin…
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.
The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.
Suggested Courses
Course of the Month11 days, 6 hours left to enroll

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question