# DQL language in notepad++ ?

**URL:** <https://community.dynatrace.com/t/dql-language-in-notepad/43217>\
**Category:** DQL\
**Tags:** dql\
**Created:** [December 14, 2023, 4:30pm UTC](https://community.dynatrace.com/t/dql-language-in-notepad/43217 "2023-12-14T16:30:32Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Christophe\_N](https://avatars.discourse-cdn.com/v4/letter/c/b5a626/32.png) [@Christophe\_N](https://community.dynatrace.com/u/Christophe_N)\
**Post date:** [December 14, 2023, 4:30pm UTC](https://community.dynatrace.com/t/dql-language-in-notepad/43217/1 "2023-12-14T16:30:32Z")

</div>

Hi,

Maybe you are Notepad++ enjoyer like me, and you are addict to it , so you use it basically for copy-pasting everything as to edit it easily ?

I was wondering if someone already created the language file for DQL so we could have the DQL language integrated in Notepad++?&nbsp;

> **[GitHub - notepad-plus-plus/userDefinedLanguages: Notepad++ User Defined...](https://github.com/notepad-plus-plus/userDefinedLanguages/tree/master)**
>
> master

Best regards,

christophe

---

<div class="post-metadata">

**Author:** ![AntonPineiro](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antonpineiro/32/49_2.png) [@AntonPineiro](https://community.dynatrace.com/u/AntonPineiro)\
**Post date:** [December 15, 2023, 7:46am UTC](https://community.dynatrace.com/t/dql-language-in-notepad/43217/2 "2023-12-15T07:46:45Z")

</div>

Hi,

Keep in mind integrate DQL editor have autocompletion, it means, it is more than syntax highlighting.

Best regards

---

<div class="post-metadata">

**Author:** ![Christophe\_N](https://avatars.discourse-cdn.com/v4/letter/c/b5a626/32.png) [@Christophe\_N](https://community.dynatrace.com/u/Christophe_N)\
**Post date:** [December 15, 2023, 8:25am UTC](https://community.dynatrace.com/t/dql-language-in-notepad/43217/3 "2023-12-15T08:25:17Z")

</div>

Hi,

Yes, it’s not forgotten : The integrated DQL editor has autocompletion but not all features from a text editor.

Also auto-completion unfortunately concerns only the syntax of the language and not entities or objects, so basically if we could use autocompletion in an external text editor, we could have benefits of auto-completion and benefits of text editor !

Best Regards

---

<div class="post-metadata">

**Author:** ![Ivan\_V](https://avatars.discourse-cdn.com/v4/letter/i/4491bb/32.png) [@Ivan\_V](https://community.dynatrace.com/u/Ivan_V)\
**Post date:** [December 18, 2023, 9:17am UTC](https://community.dynatrace.com/t/dql-language-in-notepad/43217/4 "2023-12-18T09:17:24Z")

</div>

Hello Christophe!  
I have a basic draft that I can share, you can extend the list of functions to whichever you use, but it will still be just a syntax highlight, abilities of Notepad++ user lang are still pretty limited.

```markup
<NotepadPlus>
    <UserLang name="DQL_TEST" ext="dql" udlVersion="2.1">
        <Settings>
            <Global caseIgnored="yes" allowFoldOfComments="yes" foldCompact="no" forcePureLC="0" decimalSeparator="0" />
            <Prefix Keywords1="no" Keywords2="no" Keywords3="no" Keywords4="no" Keywords5="yes" Keywords6="yes" Keywords7="no" Keywords8="no" />
        </Settings>
        <KeywordLists>
            <Keywords name="Comments">00// 01 02 03 04</Keywords>
            <Keywords name="Numbers, prefix1"></Keywords>
            <Keywords name="Numbers, prefix2"></Keywords>
            <Keywords name="Numbers, extras1"></Keywords>
            <Keywords name="Numbers, extras2"></Keywords>
            <Keywords name="Numbers, suffix1"></Keywords>
            <Keywords name="Numbers, suffix2"></Keywords>
            <Keywords name="Numbers, range"></Keywords>
            <Keywords name="Operators1">| = : , ( ) [] { }</Keywords>
            <Keywords name="Operators2">or and</Keywords>
            <Keywords name="Folders in code1, open"></Keywords>
            <Keywords name="Folders in code1, middle"></Keywords>
            <Keywords name="Folders in code1, close"></Keywords>
            <Keywords name="Folders in code2, open"></Keywords>
            <Keywords name="Folders in code2, middle"></Keywords>
            <Keywords name="Folders in code2, close"></Keywords>
            <Keywords name="Folders in comment, open"></Keywords>
            <Keywords name="Folders in comment, middle"></Keywords>
            <Keywords name="Folders in comment, close"></Keywords>
            <Keywords name="Keywords1">fetch filter filterOut limit sort summary fields fieldsAdd fieldsRemove fieldsRename summarize join lookup parse data</Keywords>
            <Keywords name="Keywords2">logs events bizevents</Keywords>
            <Keywords name="Keywords3">from to kind by on prefix sourceField lookupField scanLimitGBytes</Keywords>
            <Keywords name="Keywords4">contains matchesValue matchesPhrase in count now avg min max record</Keywords>
            <Keywords name="Keywords5">LD IPV4 DATA HTTPDATE</Keywords>
            <Keywords name="Keywords6">dt.entity. dt.system.buckets dt.system.events dt.system.data_objects dt.system.query_executions</Keywords>
            <Keywords name="Keywords7"></Keywords>
            <Keywords name="Keywords8"></Keywords>
            <Keywords name="Delimiters">00" 01\ 02" 03' 04\ 05' 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23</Keywords>
        </KeywordLists>
        <Styles>
            <WordsStyle name="DEFAULT" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
            <WordsStyle name="COMMENTS" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
            <WordsStyle name="LINE COMMENTS" fgColor="C0C0C0" bgColor="FFFFFF" fontStyle="0" nesting="0" />
            <WordsStyle name="NUMBERS" fgColor="9191FF" bgColor="FFFFFF" fontStyle="1" nesting="0" />
            <WordsStyle name="KEYWORDS1" fgColor="8000FF" bgColor="FFFFFF" fontStyle="1" nesting="0" />
            <WordsStyle name="KEYWORDS2" fgColor="7D007D" bgColor="FFFFFF" fontStyle="1" nesting="0" />
            <WordsStyle name="KEYWORDS3" fgColor="8080C0" bgColor="FFFFFF" fontStyle="0" nesting="0" />
            <WordsStyle name="KEYWORDS4" fgColor="800080" bgColor="FFFFFF" fontStyle="2" nesting="0" />
            <WordsStyle name="KEYWORDS5" fgColor="007171" bgColor="FFFFFF" fontStyle="1" nesting="0" />
            <WordsStyle name="KEYWORDS6" fgColor="800080" bgColor="FFFFFF" fontStyle="1" nesting="0" />
            <WordsStyle name="KEYWORDS7" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
            <WordsStyle name="KEYWORDS8" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
            <WordsStyle name="OPERATORS" fgColor="000000" bgColor="FFFFFF" fontStyle="1" nesting="0" />
            <WordsStyle name="FOLDER IN CODE1" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
            <WordsStyle name="FOLDER IN CODE2" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
            <WordsStyle name="FOLDER IN COMMENT" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
            <WordsStyle name="DELIMITERS1" fgColor="008000" bgColor="FFFFFF" fontStyle="0" nesting="16384" />
            <WordsStyle name="DELIMITERS2" fgColor="008040" bgColor="FFFFFF" fontStyle="1" nesting="0" />
            <WordsStyle name="DELIMITERS3" fgColor="FF8040" bgColor="FFFFFF" fontStyle="1" nesting="117702655" />
            <WordsStyle name="DELIMITERS4" fgColor="000000" bgColor="808080" colorStyle="1" fontStyle="0" nesting="117702655" />
            <WordsStyle name="DELIMITERS5" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
            <WordsStyle name="DELIMITERS6" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
            <WordsStyle name="DELIMITERS7" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
            <WordsStyle name="DELIMITERS8" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
        </Styles>
    </UserLang>
</NotepadPlus>

```
