Comments (4)
+1
It would be great to have that option. In the meantime, you can change it locally by editing the snippets.json in the extension folder, it should be %USERPROFILE%\.vscode\extensions\kleber-swf.unity-code-snippets for Windows and Home\.vscode\extensions\kleber-swf.unity-code-snippets for Linux.
Just (backup first) open the snippets.json with a text editor and use find and replace to:
Find: {",
(there should be a space before the curly brace)
Replace: ",\r\n\t\t\t"{",
Replace all and you got all snippets changed to what you need. You'll have to restart VSCode for the changes to take effect.
Alternatively, you can replace the file with the one attached, It's already modified (You will need to change the extension to .json since GitHub doesn't let me upload a .json file). If you need to reverse the changes just copy the snippets.json backup or uninstall and install the extension again.
snippets.txt
from vscode-unity-code-snippets.
+1
already a really nice extension, but having options for bracket positioning would be grand
from vscode-unity-code-snippets.
Use this https://github.com/Cdddo/vscode-unity-code-snippets
from vscode-unity-code-snippets.
Duplicated of #27
from vscode-unity-code-snippets.
Related Issues (20)
- Gizmos not been suggested HOT 1
- Add bracket position option HOT 4
- Check existing text on line HOT 1
- Publish extension on Open-VSX, so it can be used in VSCodium, Gitpod HOT 3
- Trouble downloading from the website HOT 1
- Possibility to reorder these suggestions to the bottom of the list? HOT 2
- Add option to make open brackets in a new line HOT 10
- Add .gitignore snippet HOT 1
- Auto add parenthesis on static methods HOT 1
- Singleton shortcut. HOT 1
- Condition and Statement will add HOT 1
- Add [SerializeField] & [Serializable] or stuff like that :v HOT 2
- Remove parenthesis from method name found in prefixes.
- Error -1703 HOT 1
- Not Working HOT 1
- Suggestion: Add RequireComponent snippet HOT 1
- Suggestion: allow to remove the 'private' access modifier HOT 3
- add singleton HOT 1
- SerializeField snippet HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode-unity-code-snippets.