Giter VIP home page Giter VIP logo

Comments (4)

DJMaidana avatar DJMaidana commented on May 30, 2024 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.

Babitch avatar Babitch commented on May 30, 2024

+1
already a really nice extension, but having options for bracket positioning would be grand

from vscode-unity-code-snippets.

Cdddo avatar Cdddo commented on May 30, 2024

Use this https://github.com/Cdddo/vscode-unity-code-snippets

from vscode-unity-code-snippets.

kleber-swf avatar kleber-swf commented on May 30, 2024

Duplicated of #27

from vscode-unity-code-snippets.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.