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
84 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
IntelliJ IDE error, java: package javax.servlet does not exist 3 1,110
Tomcat6 in eclipse 2 39
importing  maven Project 5 263
eclipse error 7 93
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…
Here is a helpful source code for C++ Builder programmers that allows you to manage and manipulate HTML content from C++ code, while also handling HTML events like onclick, onmouseover, ... Some objects defined and used in this source include: …
THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.
The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.

864 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

16 Experts available now in Live!

Get 1:1 Help Now