Support Board
Date/Time: Fri, 22 Nov 2024 18:41:05 +0000
Sierra Chart 'Language' for Notepad++
View Count: 3704
[2013-05-12 22:24:11] |
etr8r - Posts: 5 |
Notepad++ allows the defining of new programming languages. See... http://sourceforge.net/apps/mediawiki/notepad-plus/index.php?title=User_Defined_Language_Files http://sourceforge.net/apps/mediawiki/notepad-plus/index.php?title=User_Defined_Languages Has anyone thought to incorporate Sierra's Variables, Data Types, Constants, Control Structures & Functions into a user defined cpp-like language? If so, please point the way. If not, I will attempt to create one. I know I can obtain the c++ keywords from the npp langs.model.xml in the npp folder. Is there a ready list of the Sierra 'keywords' available? |
[2013-05-12 22:37:07] |
Sierra Chart Engineering - Posts: 104368 |
We have thought of this previously and at one-time we did create a file. Not sure where that file is now. However, it was never very productive because our header file does change and the Notepad ++ language file required updating. If you use a development tool like Microsoft Visual C++, it automatically will parse the Sierra Chart header file and recognize the keywords and give you auto completion. Sierra Chart Support - Engineering Level Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy: https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service: Sierra Chart Teton Futures Order Routing |
[2013-05-13 09:55:14] |
User36173 - Posts: 12 |
SUBLIME TEXT 2 !!!!!!!! Forget Notepad+, the whole world is coding on sublime text 2 !!!!!! http://www.sublimetext.com |
[2013-05-13 16:08:30] |
etr8r - Posts: 5 |
Sublime is impressive, but not enough to overcome the advantages of Notepad++'s Open Source Code, and it's huge community support. If there are features in Sublime that prove truly valuable, they are likely to be incorporated into n++ in due course.
|
[2013-05-13 16:20:46] |
User36173 - Posts: 12 |
The things you do to speed up your daily coding you don't find in Notepad++ at all. So your remark is invalid. See the huge community support of sublime. It's way bigger than for Notepad++ :-) |
[2013-05-21 00:04:31] |
etr8r - Posts: 5 |
Not sure if this is the right place but, if anyone is interested I created a Sierra Chart Language for n++. Note that you will need to save this by naming the language (I suggest calling the it SierraChart to keep everyone on same page), then exit n++ and re-invoke it for all to work correctly. Download the attached .xml then: 1) goto Language > Define you language > Import 2) Navigate to the file 'Lang_SierraChart.xml' and hit OK 3) Save As... SierraChart 4) Close "Define you language" 5) Close n++ then reopen n++. 6) Select a c++ file with SC code then goto Language > SierraChart I don't think I have all the best choices for how I've set things up in the n++ user language definitions - For example, I don't understand how the Delimiter Styles operate and the n++ manual is too out-of-date to explain, but you will be able to This could have been accomplished using the Language Extension Method, but with less flexibility. So I haven't tried that. P.S. You should also be able to save a file with the extension .sc and I think it will open with the SierraChart language. P.P.S. 'sc_keywords2.sc' contains all the sc keywords I've collected so far. No point in anyone doing that a 2nd time! Date Time Of Last Edit: 2013-05-21 00:16:55
|
Lang_SierraChart.xml - Attached On 2013-05-20 23:45:09 UTC - Size: 28.91 KB - 839 views sc_keywords2.sc - Attached On 2013-05-21 00:16:30 UTC - Size: 30.04 KB - 785 views |
[2013-05-21 12:31:31] |
YSS - Posts: 112 |
Thanks, etr8r I appreciate it.
|
[2013-05-21 12:34:15] |
YSS - Posts: 112 |
But in my notepad++ there is no Language-Define Language
|
[2013-05-21 16:12:11] |
etr8r - Posts: 5 |
Your Menu bar should look like the attached png. Check your n++ version. Check and uncheck 'Make language menu compact' under: Preferences > Language Menu/Tab Settings 'Define your language' should be 2nd from bottom under the 'Language' menu. |
n++_MenuBar.png / V - Attached On 2013-05-21 16:07:19 UTC - Size: 92.43 KB - 681 views |
To post a message in this thread, you need to log in with your Sierra Chart account: