xml Gradle的Notepad ++用户定义语言文件

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了xml Gradle的Notepad ++用户定义语言文件相关的知识,希望对你有一定的参考价值。

<NotepadPlus>
    <UserLang name="Gradle" ext="gradle" udlVersion="2.1">
        <Settings>
            <Global caseIgnored="yes" allowFoldOfComments="no" foldCompact="no" forcePureLC="0" decimalSeparator="0" />
            <Prefix Keywords1="no" Keywords2="no" Keywords3="no" Keywords4="no" Keywords5="no" 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">: -&gt; &lt;&lt; . , ( ) [ ] + - / * =</Keywords>
            <Keywords name="Operators2"></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">absoluteProjectPath afterEvaluate allprojects ant apply artifacts beforeEvaluate buildscript childrenDependOnMe configurations configure container copy copySpec createAntBuilder defaultTasks delete dependencies dependsOn dependsOnChildren depthCompare evaluationDependsOn evaluationDependsOnChildren exec file fileTree files findProject hasProperty javaexec mkdir project property relativePath relativeProjectPath repositories subprojects tarTree task uri zipTree deleteAllActions dependsOnTaskDidWork doFirst doLast finalizedBy leftShift mustRunAfter onlyIf</Keywords>
            <Keywords name="Keywords2">allTasks buildDir buildFile childProjects components convention dependsOnProjects depth description extensions gradle logger logging parent path plugins projectDir properties resources rootDir rootProject state status tasks tasksByName actions didWork enabled inputs outputs taskDependencies temporaryDir</Keywords>
            <Keywords name="Keywords3">plugin from to group name version type</Keywords>
            <Keywords name="Keywords4">manifest sourceSets compile classpath destinationDir processResources classes compileJava processTestResources testClasses compileTestJava test jar javadoc runtime testRuntime testCompile testClassesDir testSrcDirs check build buildDependents buildNeeded verification documentation java clean classesDir resourcesDir title destination binResultsDir assemble upload distsDirName libsDirName reporting baseDir process sources binaries</Keywords>
            <Keywords name="Keywords5">dependencyCacheDir dependencyCacheDirName docsDir docsDirName metaInf sourceCompatibility targetCompatibility testReportDir testReportDirName testResultsDir testResultsDirName archivesBaseName distsDir libsDir apiDocTitle reportsDir reportsDirName</Keywords>
            <Keywords name="Keywords6"></Keywords>
            <Keywords name="Keywords7">flatDir ivy jcenter maven mavenCentral mavenLocal mavenRepo attributes writeTo artifactUrls url effectiveManifest sections conf2ScopeMappings mavenPomDir pom mavenDeployer mavenInstaller srcDir srcDirs source srcDirTrees filter systemProperties main </Keywords>
            <Keywords name="Keywords8">antBuilderFactory asDynamicObject buildScriptSource buildTasks class cleanEclipse cleanEclipseClasspath cleanEclipseJdt cleanEclipseProject cleanIdea cleanIdeaModule cleanIdeaProject cleanIdeaWorkspace configurationActions defaultArtifacts eclipse eclipseClasspath eclipseJdt eclipseProject ext fileResolver idea ideaModule ideaProject ideaWorkspace implicitTasks inheritedScope metaClass module parentIdentifier projectEvaluationBroadcaster projectEvaluator projectRegistry rebuildTasks runtimeClasspath scriptPluginFactory services standardOutputCapture</Keywords>
            <Keywords name="Delimiters">00&apos; 01 02&apos; 03&quot; 04 05&quot; 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" fontName="" fontStyle="0" nesting="0" />
            <WordsStyle name="COMMENTS" fgColor="008080" bgColor="FFFFFF" fontName="" fontStyle="2" nesting="0" />
            <WordsStyle name="LINE COMMENTS" fgColor="008080" bgColor="FFFFFF" fontName="" fontStyle="2" nesting="0" />
            <WordsStyle name="NUMBERS" fgColor="FF8080" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
            <WordsStyle name="KEYWORDS1" fgColor="0000FF" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
            <WordsStyle name="KEYWORDS2" fgColor="0000FF" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
            <WordsStyle name="KEYWORDS3" fgColor="8080FF" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
            <WordsStyle name="KEYWORDS4" fgColor="0000FF" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
            <WordsStyle name="KEYWORDS5" fgColor="0000FF" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
            <WordsStyle name="KEYWORDS6" fgColor="009F00" bgColor="FFFF80" fontName="" fontStyle="0" nesting="0" />
            <WordsStyle name="KEYWORDS7" fgColor="0000FF" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
            <WordsStyle name="KEYWORDS8" fgColor="0000FF" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
            <WordsStyle name="OPERATORS" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
            <WordsStyle name="FOLDER IN CODE1" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
            <WordsStyle name="FOLDER IN CODE2" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
            <WordsStyle name="FOLDER IN COMMENT" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
            <WordsStyle name="DELIMITERS1" fgColor="009F00" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
            <WordsStyle name="DELIMITERS2" fgColor="009F00" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
            <WordsStyle name="DELIMITERS3" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
            <WordsStyle name="DELIMITERS4" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
            <WordsStyle name="DELIMITERS5" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
            <WordsStyle name="DELIMITERS6" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
            <WordsStyle name="DELIMITERS7" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
            <WordsStyle name="DELIMITERS8" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
        </Styles>
    </UserLang>
</NotepadPlus>

以上是关于xml Gradle的Notepad ++用户定义语言文件的主要内容,如果未能解决你的问题,请参考以下文章

Notepad++ 自定义语言调用提示自动完成

notepad++ 用户定义的折叠区域

notepad++ 用户定义的伪代码语言

用户定义的语言不适用于 Notepad++ 中的指定文件类型

xml的定义用途

XML--- XML文档类型定义(DTD)