This commit is contained in:
@ -0,0 +1 @@
|
||||
{"comments":{"lineComment":"//","blockComment":["/*","*/"]},"brackets":[["{","}"],["[","]"],["(",")"]],"autoClosingPairs":[{"open":"{","close":"}","notIn":["string"]},{"open":"[","close":"]","notIn":["string"]},{"open":"(","close":")","notIn":["string"]},{"open":"'","close":"'","notIn":["string","comment"]},{"open":"\"","close":"\"","notIn":["string","comment"]},{"open":"/**","close":" */","notIn":["string"]}],"surroundingPairs":[["{","}"],["[","]"],["(",")"],["'","'"],["\"","\""],["`","`"]],"indentationRules":{"increaseIndentPattern":"({(?!.*}).*|\\(|\\[|((else(\\s)?)?if|else|for(each)?|while|switch|case).*:)\\s*((/[/*].*|)?$|\\?>)","decreaseIndentPattern":"^(.*\\*\\/)?\\s*((\\})|(\\)+[;,])|(\\]\\)*[;,])|\\b(else:)|\\b((end(if|for(each)?|while|switch));))"},"folding":{"markers":{"start":"^\\s*(#|//)region\\b","end":"^\\s*(#|//)endregion\\b"}},"wordPattern":"(-?\\d*\\.\\d\\w*)|([^\\-\\`\\~\\!\\@\\#\\%\\^\\&\\*\\(\\)\\=\\+\\[\\{\\]\\}\\\\\\|\\;\\:\\'\\\"\\,\\.\\<\\>\\/\\?\\s]+)","onEnterRules":[{"beforeText":"^\\s*\\/\\*\\*(?!\\/)([^\\*]|\\*(?!\\/))*$","afterText":"^\\s*\\*\\/$","action":{"indent":"indentOutdent","appendText":" * "}},{"beforeText":"^\\s*\\/\\*\\*(?!\\/)([^\\*]|\\*(?!\\/))*$","action":{"indent":"none","appendText":" * "}},{"beforeText":"^(\\t|(\\ \\ ))*\\ \\*(\\ ([^\\*]|\\*(?!\\/))*)?$","action":{"indent":"none","appendText":"* "}},{"beforeText":"^(\\t|(\\ \\ ))*\\ \\*\\/\\s*$","action":{"indent":"none","removeText":1}},{"beforeText":"^(\\t|(\\ \\ ))*\\ \\*[^/]*\\*\\/\\s*$","action":{"indent":"none","removeText":1}},{"previousLineText":"^\\s*(((else ?)?if|for(each)?|while)\\s*\\(.*\\)\\s*|else\\s*)$","beforeText":"^\\s+([^{i\\s]|i(?!f\\b))","action":{"indent":"outdent"}}]}
|
1
vscode-server-linux-x64-web/extensions/php/package.json
Normal file
1
vscode-server-linux-x64-web/extensions/php/package.json
Normal file
@ -0,0 +1 @@
|
||||
{"name":"php","displayName":"%displayName%","description":"%description%","version":"1.0.0","publisher":"vscode","license":"MIT","engines":{"vscode":"0.10.x"},"categories":["Programming Languages"],"contributes":{"languages":[{"id":"php","extensions":[".php",".php4",".php5",".phtml",".ctp"],"aliases":["PHP","php"],"firstLine":"^#!\\s*/.*\\bphp\\b","mimetypes":["application/x-php"],"configuration":"./language-configuration.json"}],"grammars":[{"language":"php","scopeName":"source.php","path":"./syntaxes/php.tmLanguage.json"},{"language":"php","scopeName":"text.html.php","path":"./syntaxes/html.tmLanguage.json","embeddedLanguages":{"text.html":"html","source.php":"php","source.sql":"sql","text.xml":"xml","source.js":"javascript","source.json":"json","source.css":"css"}}],"snippets":[{"language":"php","path":"./snippets/php.code-snippets"}]},"scripts":{"update-grammar":"node ./build/update-grammar.mjs"},"repository":{"type":"git","url":"https://github.com/microsoft/vscode.git"}}
|
@ -0,0 +1 @@
|
||||
{"displayName":"PHP Language Basics","description":"Provides syntax highlighting and bracket matching for PHP files."}
|
File diff suppressed because one or more lines are too long
@ -0,0 +1 @@
|
||||
{"information_for_contributors":["This file has been converted from https://github.com/KapitanOczywisty/language-php/blob/master/grammars/html.cson","If you want to provide a fix or improvement, please create a pull request against the original repository.","Once accepted there, we are happy to receive an update request."],"version":"https://github.com/KapitanOczywisty/language-php/commit/ff64523c94c014d68f5dec189b05557649c5872a","name":"PHP","scopeName":"text.html.php","injections":{"L:meta.embedded.php.blade":{"patterns":[{"include":"text.html.basic"},{"include":"text.html.php.blade#blade"}]},"text.html.php - (meta.embedded | meta.tag), L:((text.html.php meta.tag) - (meta.embedded.block.php | meta.embedded.line.php)), L:(source.js - (meta.embedded.block.php | meta.embedded.line.php)), L:(source.css - (meta.embedded.block.php | meta.embedded.line.php))":{"patterns":[{"include":"#php-tag"}]}},"patterns":[{"begin":"\\A#!","beginCaptures":{"0":{"name":"punctuation.definition.comment.php"}},"end":"$","name":"comment.line.shebang.php"},{"include":"text.html.derivative"}],"repository":{"php-tag":{"patterns":[{"begin":"<\\?(?i:php|=)?(?![^?]*\\?>)","beginCaptures":{"0":{"name":"punctuation.section.embedded.begin.php"}},"end":"(\\?)>","endCaptures":{"0":{"name":"punctuation.section.embedded.end.php"},"1":{"name":"source.php"}},"name":"meta.embedded.block.php","contentName":"source.php","patterns":[{"include":"source.php"}]},{"begin":"<\\?(?i:php|=)?","beginCaptures":{"0":{"name":"punctuation.section.embedded.begin.php"}},"end":"(\\?)>","endCaptures":{"0":{"name":"punctuation.section.embedded.end.php"},"1":{"name":"source.php"}},"name":"meta.embedded.line.php","contentName":"source.php","patterns":[{"include":"source.php"}]}]}}}
|
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user