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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
HTML-Kit Question 5 102
Visual Studio - Accept Button gets border 3 77
VS can't find System.IO.Packaging 5 739
Eclipse Neon start with Admin account only 6 159
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…
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.

756 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