Hi, eranif
We have a language named TNSDL, which is very similar like C. I'd like to make Codelite support folding, symbol searching, outlines for it.
Attachment is the wordfile which is used in ultraedit.
Could you help give some hints for implementing supporting of it in CodeLite?
Thanks!
Adding support for a language TNSDL
-
- CodeLite Curious
- Posts: 2
- Joined: Tue Apr 06, 2010 7:48 am
- Genuine User: Yes
- IDE Question: C++
- Contact:
Adding support for a language TNSDL
You do not have the required permissions to view the files attached to this post.
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Adding support for a language TNSDL
I dont think that it is even possible to add a syntax highlight without code changes...
If it is similar to C, you should probably using the C lexer ID for adding syntax highlight as described here:
http://codelite.org/LiteEditor/AddingNewLexer
For adding support for code completion / symbols / outline etc, you will need to change the code.
For codelite be able to collect symbols you should be looking the the function:
TagsManager::RetagFiles (ctags_manager.cpp)
Also:
look the source file: parse_thread.cpp
In short: codelite was designed for C/C++ without deep knowledge in how it works, it will be very hard to change it to work with new language
Eran
If it is similar to C, you should probably using the C lexer ID for adding syntax highlight as described here:
http://codelite.org/LiteEditor/AddingNewLexer
For adding support for code completion / symbols / outline etc, you will need to change the code.
For codelite be able to collect symbols you should be looking the the function:
TagsManager::RetagFiles (ctags_manager.cpp)
Also:
look the source file: parse_thread.cpp
In short: codelite was designed for C/C++ without deep knowledge in how it works, it will be very hard to change it to work with new language
Eran
Make sure you have read the HOW TO POST thread
-
- CodeLite Curious
- Posts: 2
- Joined: Tue Apr 06, 2010 7:48 am
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Adding support for a language TNSDL
Hi,
Thanks for your fast reply and the hints!
Thanks for your fast reply and the hints!