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
83 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
  • 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 500 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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

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…
Jaspersoft Studio is a plugin for Eclipse that lets you create reports from a datasource.  In this article, we'll go over creating a report from a default template and setting up a datasource that connects to your database.
The viewer will learn how to use NetBeans IDE 8.0 for Windows to connect to a MySQL database. Open Services Panel: Create a new connection using New Connection Wizard: Create a test database called eetutorial: Create a new test tabel called ee…
The viewer will learn how to use and create keystrokes in Netbeans IDE 8.0 for Windows.

743 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now