Add files via upload#401
Conversation
This is the native language of ThinkOrSwim. A trading platform owned and provided by Charles Schwab. It is the most popular and widely distributed trading platform in the US.
|
Initial Problems:
Please follow the structure and naming conventions and other rules for submissions, as explained in CONTRIBUTING.md |
|
PeterCJ -- thought I did follow the directions.
I am not familiar with GitHub or exactly what you want.There is a lot to
read and I am sure it is totally clear to you, but not to someone who is
unfamiliar with all this.
Exactly what directory structure would you like? I saw nothing about a
directory structure, and since all the files have the same name, I had to
do something
I did update the udl-list.json. Did it not make it?
Steven Hyde
…On Thu, Jul 16, 2026 at 2:48 PM PeterCJ ***@***.***> wrote:
*pryrt* left a comment (notepad-plus-plus/userDefinedLanguages#401)
<#401 (comment)>
Initial Problems:
- The udl-list.json needs to be updated.
- Nothing in the submission was placed in the right
directories/location.
- Don't create a new XML directory. That's not the right structure
for this repo.
- The automated checkers didn't find anything because it cannot see
anything in your submission, because nothing is in the right place.
- The overrideMap should not be submitted, as it's not part of the
repo.
Please follow the structure and naming conventions and other rules for
submissions, as explained in CONTRIBUTING.md
<http:///notepad-plus-plus/userDefinedLanguages/blob/master/CONTRIBUTING.md>
—
Reply to this email directly, view it on GitHub
<#401?email_source=notifications&email_token=AMKVPF2EI7NDK6EV5I7HFRL5FEWPVA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTIOJZGU4TKMJUGQ3KM4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2KYZTPN52GK4S7MNWGSY3L#issuecomment-4995951446>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AMKVPFZIIUPGBZIE67IWPDT5FEWPVAVCNFSNUABFKJSXA33TNF2G64TZHMZDGMJWGE4TINRUHNEXG43VMU5TIOBZHAYDONBWGEZ2C5QC>
.
Triage notifications, keep track of coding agent tasks and review pull
requests on the go with GitHub Mobile for iOS
<https://github.com/notifications/mobile/ios/AMKVPFZMNVDL6RAKMC566BL5FEWPVA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTIOJZGU4TKMJUGQ3KM4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2KUZTPN52GK4S7NFXXG>
and Android
<https://github.com/notifications/mobile/android/AMKVPF7TJXGII6BYLPYIB6L5FEWPVA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTIOJZGU4TKMJUGQ3KM4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2K4ZTPN52GK4S7MFXGI4TPNFSA>.
Download it today!
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
I do not see any modifications to the udl-list.json file in the change list. If you click on the "Files Changed" tab, you will see that udl-list.json is not in the list of changed files. Did you include your updates in your push to your branch?
CONTRIBUTING.md Point 9 literally says, "each file must go in the right directory in the repository", and the items below list which directory each goes into.
It's about a page of text. I am sorry if that's a lot of text to you, but the document was created so that anyone could read it, and follow its instructions, to get everything into the repo in a consistent manner. Without those rules, it makes for unusable chaos, which would then be useful to no one when they try to use one of these UDLs and the associated files. |
|
Thanks .. will attempt later this evening
Steven Hyde
…On Thu, Jul 16, 2026 at 3:31 PM PeterCJ ***@***.***> wrote:
*pryrt* left a comment (notepad-plus-plus/userDefinedLanguages#401)
<#401 (comment)>
I did update the udl-list.json. Did it not make it?
I do not see any modifications to the udl-list.json file in the change
list. If you click on the "Files Changed" tab
<http:///notepad-plus-plus/userDefinedLanguages/pull/401/changes>, you
will see that udl-list.json is not in the list of changed files. Did you
include your updates in your push to your branch?
I saw nothing about a directory structure.
CONTRIBUTING.md
<http:///notepad-plus-plus/userDefinedLanguages/blob/master/CONTRIBUTING.md>
Point 9 literally says, "each file must go in the right directory in the
repository", and the items below list which directory each goes into.
- You need to put the UDL file as UDLs\thinkScript_bySBHyde.xml, not
as XML\thinkScript.xml
- see point 2 in the CONTRIBUTING.md file, which says, "The XML
file must be given a unique name, because of the file structure. The name
must include the name of the language, but also something else to make it
unique.".
- Thus, my suggested rename includes not only the correct
directory, but also making the filename meet the requirement of point 2.
- Point 9 confirms the correct directory.
- You need to put the auto-completion file as
autoCompletion\thinkScript.xml, not as
XML\autoCompletion\thinkScript.xml
- see point 7 in CONTRIBUTING.md for the correct location, and
naming requirements
- Point 9 confirms the correct directory.
- You need to put the FunctionList definition as
functionList\thinkScript.xml, not as XML\functionList\thinkScript.xml
- see point 8 in CONTRIBUTING.md for the correct location, and
naming requirements
- Point 9 confirms the correct directory
- You need to put the sample file as
UDL-samples\thinkScript_bySBHyde.ts, not as .\Sample.ts
- See point 6 for the rules about including a sample file if you've
got a functionList, and for the directory it needs to go in
- Point 9 confirms the correct directory
There is a lot to read
It's about a page of text. I am sorry if that's a lot of text to you, but
the document was created so that anyone could read it, and follow its
instructions, to get everything into the repo in a consistent manner.
Without those rules, it makes for unusable chaos, which would then be
useful to no one when they try to *use* one of these UDLs and the
associated files.
—
Reply to this email directly, view it on GitHub
<#401?email_source=notifications&email_token=AMKVPF7CMBQDQEKB7FJUDJD5FE3TBA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTIOJZGYZTANRWGM22M4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2KYZTPN52GK4S7MNWGSY3L#issuecomment-4996306635>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AMKVPFYJYCIH2DMTVOZF3Z35FE3TBAVCNFSNUABFKJSXA33TNF2G64TZHMZDGMJWGE4TINRUHNEXG43VMU5TIOBZHAYDONBWGEZ2C5QC>
.
Triage notifications, keep track of coding agent tasks and review pull
requests on the go with GitHub Mobile for iOS
<https://github.com/notifications/mobile/ios/AMKVPF6XGUL5YFJJNVSPVOD5FE3TBA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTIOJZGYZTANRWGM22M4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2KUZTPN52GK4S7NFXXG>
and Android
<https://github.com/notifications/mobile/android/AMKVPFYB4GIOHKUKQIFIMAT5FE3TBA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTIOJZGYZTANRWGM22M4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2K4ZTPN52GK4S7MFXGI4TPNFSA>.
Download it today!
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
|
I wonder if I might ask a question or 3 to make certain there are no
improvements to be made before I submit this.
To be clear, I am asking so I might improve my submission, I am not asking
for program updates/enhancements.
1) SYNTAX HIGHLIGHTING -When I first created the keywords, the program did
not honor the input. This is what I got.
[image: image.png]
I subsequently added operators . , ( ) ; (period, comma, Open Paren, Close
Paren , semicolon) and got the output I was expecting.
this
[image: image.png]
Is this the correct approach? Should these delimiters be added somewhere
else or in another way?
2) AUTOCOMPLETE - The language utilizes a "dot" notation, (Class.Function).
I implemented AUTOCOMPLETE by entering fully qualified keywords
Class
Class.Function1
Class.Function2
Class.Function3
Note: I did not enter the fully qualified keywords for Syntax
highlighting as it wasn't necessary.
My question - If a user types Class followed by a period, is there a way to
then filter the autocomplete list to show just Function1, Function2,
Function3 ?
If so, how do I do this?
3) AUTOCOMPLETE - The language supports logical comparison phrases such as
"is not equal to"
I placed these phases in the Autocomplete file, Perfectly valid XML
entries. They look like this
<KeyWord name="is not equal to"/>
This did not cause any problems, but they phrases did not show up in the
autocomplete window.
Is this unsupported? or do I need to do something else?
Steven Hyde
…On Thu, Jul 16, 2026 at 3:35 PM Steven Hyde ***@***.***> wrote:
Thanks .. will attempt later this evening
Steven Hyde
On Thu, Jul 16, 2026 at 3:31 PM PeterCJ ***@***.***> wrote:
> *pryrt* left a comment (notepad-plus-plus/userDefinedLanguages#401)
> <#401 (comment)>
>
> I did update the udl-list.json. Did it not make it?
>
> I do not see any modifications to the udl-list.json file in the change
> list. If you click on the "Files Changed" tab
> <http:///notepad-plus-plus/userDefinedLanguages/pull/401/changes>, you
> will see that udl-list.json is not in the list of changed files. Did you
> include your updates in your push to your branch?
>
> I saw nothing about a directory structure.
>
> CONTRIBUTING.md
> <http:///notepad-plus-plus/userDefinedLanguages/blob/master/CONTRIBUTING.md>
> Point 9 literally says, "each file must go in the right directory in the
> repository", and the items below list which directory each goes into.
>
> - You need to put the UDL file as UDLs\thinkScript_bySBHyde.xml, not
> as XML\thinkScript.xml
> - see point 2 in the CONTRIBUTING.md file, which says, "The XML
> file must be given a unique name, because of the file structure. The name
> must include the name of the language, but also something else to make it
> unique.".
> - Thus, my suggested rename includes not only the correct
> directory, but also making the filename meet the requirement of point 2.
> - Point 9 confirms the correct directory.
> - You need to put the auto-completion file as
> autoCompletion\thinkScript.xml, not as
> XML\autoCompletion\thinkScript.xml
> - see point 7 in CONTRIBUTING.md for the correct location, and
> naming requirements
> - Point 9 confirms the correct directory.
> - You need to put the FunctionList definition as
> functionList\thinkScript.xml, not as XML\functionList\thinkScript.xml
> - see point 8 in CONTRIBUTING.md for the correct location, and
> naming requirements
> - Point 9 confirms the correct directory
> - You need to put the sample file as
> UDL-samples\thinkScript_bySBHyde.ts, not as .\Sample.ts
> - See point 6 for the rules about including a sample file if
> you've got a functionList, and for the directory it needs to go in
> - Point 9 confirms the correct directory
>
> There is a lot to read
>
> It's about a page of text. I am sorry if that's a lot of text to you, but
> the document was created so that anyone could read it, and follow its
> instructions, to get everything into the repo in a consistent manner.
> Without those rules, it makes for unusable chaos, which would then be
> useful to no one when they try to *use* one of these UDLs and the
> associated files.
>
> —
> Reply to this email directly, view it on GitHub
> <#401?email_source=notifications&email_token=AMKVPF7CMBQDQEKB7FJUDJD5FE3TBA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTIOJZGYZTANRWGM22M4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2KYZTPN52GK4S7MNWGSY3L#issuecomment-4996306635>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AMKVPFYJYCIH2DMTVOZF3Z35FE3TBAVCNFSNUABFKJSXA33TNF2G64TZHMZDGMJWGE4TINRUHNEXG43VMU5TIOBZHAYDONBWGEZ2C5QC>
> .
> Triage notifications, keep track of coding agent tasks and review pull
> requests on the go with GitHub Mobile for iOS
> <https://github.com/notifications/mobile/ios/AMKVPF6XGUL5YFJJNVSPVOD5FE3TBA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTIOJZGYZTANRWGM22M4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2KUZTPN52GK4S7NFXXG>
> and Android
> <https://github.com/notifications/mobile/android/AMKVPFYB4GIOHKUKQIFIMAT5FE3TBA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTIOJZGYZTANRWGM22M4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2K4ZTPN52GK4S7MFXGI4TPNFSA>.
> Download it today!
> You are receiving this because you authored the thread.Message ID:
> ***@***.***>
>
|
|
GitHub ignores images from email replies, so I cannot see them, sorry.
If you want punctuation to be able to separate keywords with no spaces, yes, it should go in operators1 like you did. Though I would usually put the
Technically, autocomplete is meant for alphanumeric words. You can try to include the punctuation as part of it, but that sometimes brings unexpected consequences.
If Settings > Preferences > Auto-Completion is set to The manual specifically says, "NOTE: Spaces can’t be used as the character for the attributes" -- this includes the |
|
thanks
Steven Hyde
…On Fri, Jul 17, 2026 at 2:54 PM PeterCJ ***@***.***> wrote:
*pryrt* left a comment (notepad-plus-plus/userDefinedLanguages#401)
<#401 (comment)>
GitHub ignores images from email replies, so I cannot see them, sorry.
Is this the correct approach? Should these delimiters be added somewhere
else or in another way?
If you want punctuation to be able to separate keywords with no spaces,
yes, it should go in operators1 like you did. Though I would usually put
the ( and ) as the open and close of a separate delimiter (like
delimiters 2), rather than as an operator. Inside the STYLE for delimiters
2, you could then checkmark all the other types of things that are allowed
to still be highlighted when still inside parentheses (which could be all
or most of them, if you want). But it's up to you, really. If this is
working for you, that's fine.
AUTOCOMPLETE - The language utilizes a "dot" notation,
Technically, autocomplete is meant for alphanumeric words. You can try to
include the punctuation as part of it, but that sometimes brings unexpected
consequences.
is there a way to then filter the autocomplete list
If *Settings > Preferences > Auto-Completion* is set to Make
auto-completion brief, it will do that with alphanumeric keywords. But
the "." will cause Notepad++'s auto-completion function to not search any
farther backwards for matches, so my guess is that it *won't* work the
way you want. Notepad++'s auto-completion doesn't have that hierarchical
feature, to be able to limit what goes on the left and right of a
hierarchical separator like . or :: or similar from other languages. But
if you set the additionalWordChar attribute in the autoCompletion
definition file to include . , I believe it will get around that by
treating it as a normal word char, for purposes of completion.
The manual
<https://npp-user-manual.org/docs/auto-completion/#auto-completion-file-format>
specifically says, "NOTE: Spaces can’t be used as the character for the
attributes" -- this includes the <KeyWord name="..." > , where the
keywords themselves are stored. Sorry. Some people have tried using a
unicode nonbreaking space (U+00A0,   in the XML), which makes it
*look* like what you want, visually... it would insert that character
instead of the space. But then, before you save/compile/interpret/run your
code, you'd have to replace all instances of \xA0 with \x20 to get them
to all be spaces and work for your actual program -- that gets tedius, so I
think most people give up on trying to use those.
—
Reply to this email directly, view it on GitHub
<#401?email_source=notifications&email_token=AMKVPFYLP3KJAJJ7ZA4UOMD5FJ757A5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTKMBQGY4TMOJWHA3KM4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2KYZTPN52GK4S7MNWGSY3L#issuecomment-5006969686>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AMKVPFYK33MPYECERWDBJOL5FJ757AVCNFSNUABFKJSXA33TNF2G64TZHMZDGMJWGE4TINRUHNEXG43VMU5TIOBZHAYDONBWGEZ2C5QC>
.
Triage notifications, keep track of coding agent tasks and review pull
requests on the go with GitHub Mobile for iOS
<https://github.com/notifications/mobile/ios/AMKVPFYRRTMDLJJO5NSYLFD5FJ757A5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTKMBQGY4TMOJWHA3KM4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2KUZTPN52GK4S7NFXXG>
and Android
<https://github.com/notifications/mobile/android/AMKVPFZQ322SEZ3ZDU3AGH35FJ757A5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTKMBQGY4TMOJWHA3KM4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2K4ZTPN52GK4S7MFXGI4TPNFSA>.
Download it today!
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
It actually said it very poorly, and that was more meant for the |
|
1) Just an FYI. Moving ( & ) to the Delimiters causes the things in the ()
to NOT be highlighted -- (NotHighlighted) .
.
2) FYI. The Class.Funciton1 notation does work
3) Very well . I will remove those keyword phrases and replace them
with individual keywords. By this I mean "is not equal to" will become 4
Key Words.
I believe I have all the answers I need. Let me get the changes done.
On Fri, Jul 17, 2026 at 3:06 PM PeterCJ ***@***.***> wrote:
*pryrt* left a comment (notepad-plus-plus/userDefinedLanguages#401)
<#401 (comment)>
The manual
<https://npp-user-manual.org/docs/auto-completion/#auto-completion-file-format>
specifically says, "NOTE: Spaces can’t be used as the character for the
attributes"
It actually said it very poorly, and that was more meant for the
<Environment> tag attributes. I am clarifying that NOTE, as well as
adding the space-limitation to the <KeyWord name="..."> description
paragraph, a little lower down.
—
Reply to this email directly, view it on GitHub
<#401?email_source=notifications&email_token=AMKVPF63ONBZYUOKPHDWL7L5FKBK5A5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTKMBQG4YDKMZZGM2KM4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2KYZTPN52GK4S7MNWGSY3L#issuecomment-5007053934>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AMKVPF5YSAGOGDKSHAGTUED5FKBK5AVCNFSNUABFKJSXA33TNF2G64TZHMZDGMJWGE4TINRUHNEXG43VMU5TIOBZHAYDONBWGEZ2C5QC>
.
Triage notifications, keep track of coding agent tasks and review pull
requests on the go with GitHub Mobile for iOS
<https://github.com/notifications/mobile/ios/AMKVPF4NPCT3Y4UGTWNT7FT5FKBK5A5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTKMBQG4YDKMZZGM2KM4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2KUZTPN52GK4S7NFXXG>
and Android
<https://github.com/notifications/mobile/android/AMKVPF33IPW36RZNBTPDU2T5FKBK5A5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTKMBQG4YDKMZZGM2KM4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2K4ZTPN52GK4S7MFXGI4TPNFSA>.
Download it today!
You are receiving this because you authored the thread.Message ID:
***@***.***>
Steven Hyde
|
This is the native language of ThinkOrSwim. A trading platform owned and provided by Charles Schwab. It is the most popular and widely distributed trading platform in the US.