I noticed a weird behaviour with Jails. If i have a jails.json file in my project, the function autocompletions automatically insert brackets. If i don't have a jails.json file then function autocompletions doesn't auto insert brackets. I personally don't like bracket auto insertion, so I was investigating why vscode started inserting brackets all of a sudden, and I found that auto bracket insertion only happens when a jails.json file is present.
To Reproduce:
- create an empty folder
- create a main.jai file with the following contents:
fffffffff :: () { }
main :: () {
}
- inside of the main function type "f" and press tab to auto complete the function
fffffff. And notice that no brackets were inserted automatically.
- now create a
jails.json file with the following contents:
- Restart vscode.
- Try to autocomplete the function
ffffffff again and notice that opening and closing brackets are being auto inserted.
I noticed a weird behaviour with Jails. If i have a jails.json file in my project, the function autocompletions automatically insert brackets. If i don't have a jails.json file then function autocompletions doesn't auto insert brackets. I personally don't like bracket auto insertion, so I was investigating why vscode started inserting brackets all of a sudden, and I found that auto bracket insertion only happens when a jails.json file is present.
To Reproduce:
fffffff. And notice that no brackets were inserted automatically.jails.jsonfile with the following contents:ffffffffagain and notice that opening and closing brackets are being auto inserted.