Git Product home page Git Product logo

Comments (3)

pfalstad avatar pfalstad commented on July 21, 2024

I prefer tabs set to 8, with 4 space indent. (spaces only is OK.) That is what all the java code originally used. I think that got messed up somewhere. Perhaps Iain was using different settings, or maybe I was using the wrong settings in eclipse for a while.

from circuitjs1.

fritzw avatar fritzw commented on July 21, 2024

Adding a .editorconfig file to the repository could help people get the settings right. VS Code just recently got the ability to separately set the indent width and the tab width. Unfortunately the EditorConfig plugin seems unable to set these settings correctly for now (editorconfig/editorconfig-vscode#346), but at least I can set them manually to correctly render the Java files.

Also, VS Code will not automatically merge 8 spaces into a tab. This could be done with an automatic replace-on-save action, but that would affect the entire file, not just changed parts. Guess we will have to live with inconsistent spacing.

But since you said that spaces only are fine for you, we can probably close this issue. Or leave it open until a working .editorconfig has been commited.

from circuitjs1.

H-Dynamite avatar H-Dynamite commented on July 21, 2024

Format code using IDEA
[3422802b56833c66e7f1908a1483112b1fff6fc1](SEVA77/circuitjs1@3422802)

from circuitjs1.

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.