chore(vscode): update to 1.53.2
These conflicts will be resolved in the following commits. We do it this way so that PR review is possible.
This commit is contained in:
@ -6,7 +6,7 @@
|
||||
"git": {
|
||||
"name": "ionide/ionide-fsgrammar",
|
||||
"repositoryUrl": "https://github.com/ionide/ionide-fsgrammar",
|
||||
"commitHash": "af037b23ca4c61b02799957a61cbd05b44355caf"
|
||||
"commitHash": "fc4cac6d9bc1787f54ce48bbc77bcbb1de8160ff"
|
||||
}
|
||||
},
|
||||
"license": "MIT",
|
||||
|
@ -7,7 +7,7 @@
|
||||
"license": "MIT",
|
||||
"engines": { "vscode": "*" },
|
||||
"scripts": {
|
||||
"update-grammar": "node ../../build/npm/update-grammar.js ionide/ionide-fsgrammar grammar/fsharp.json ./syntaxes/fsharp.tmLanguage.json"
|
||||
"update-grammar": "node ../../build/npm/update-grammar.js ionide/ionide-fsgrammar grammars/fsharp.json ./syntaxes/fsharp.tmLanguage.json"
|
||||
},
|
||||
"contributes": {
|
||||
"languages": [{
|
||||
|
@ -1,10 +1,10 @@
|
||||
{
|
||||
"information_for_contributors": [
|
||||
"This file has been converted from https://github.com/ionide/ionide-fsgrammar/blob/master/grammar/fsharp.json",
|
||||
"This file has been converted from https://github.com/ionide/ionide-fsgrammar/blob/master/grammars/fsharp.json",
|
||||
"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/ionide/ionide-fsgrammar/commit/af037b23ca4c61b02799957a61cbd05b44355caf",
|
||||
"version": "https://github.com/ionide/ionide-fsgrammar/commit/fc4cac6d9bc1787f54ce48bbc77bcbb1de8160ff",
|
||||
"name": "fsharp",
|
||||
"scopeName": "source.fsharp",
|
||||
"patterns": [
|
||||
@ -560,6 +560,11 @@
|
||||
}
|
||||
},
|
||||
"patterns": [
|
||||
{
|
||||
"comments": "Capture // when inside of (* *) like that the rule which capture comments starting by // is not trigger. See https://github.com/ionide/ionide-fsgrammar/issues/155",
|
||||
"name": "fast-capture.comment.line.double-slash.fsharp",
|
||||
"match": "//"
|
||||
},
|
||||
{
|
||||
"include": "#comments"
|
||||
}
|
||||
|
@ -1,18 +0,0 @@
|
||||
// from https://msdn.microsoft.com/en-us/library/dd233160.aspx
|
||||
|
||||
// The declaration creates a constructor that takes two values, name and age.
|
||||
type Person(name:string, age:int) =
|
||||
let mutable internalAge = age
|
||||
|
||||
new(name:string) = Person(name, 0)
|
||||
|
||||
member this.Name = name
|
||||
// A read/write property.
|
||||
member this.Age
|
||||
with get() = internalAge
|
||||
and set(value) = internalAge <- value
|
||||
|
||||
member this.HasABirthday () = internalAge <- internalAge + 1
|
||||
member this.IsOfAge targetAge = internalAge >= targetAge
|
||||
override this.ToString () =
|
||||
"Name: " + name + "\n" + "Age: " + (string)internalAge
|
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user