Comments (3)
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.
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.
Format code using IDEA
[3422802b56833c66e7f1908a1483112b1fff6fc1](SEVA77/circuitjs1@3422802)
from circuitjs1.
Related Issues (20)
- Question-Is this the place to add issues now? HOT 1
- Simulation wrong for reverse diode? HOT 1
- feature: analog multiplexer HOT 8
- Abnormal BJT current source behaviour with oscillating transformer in circuit HOT 3
- latch buttons
- error in threephasemotorElm.java HOT 2
- Relay contacts should indicate whether they are NC or NO
- How can I make logic gates inside subcircuits use specific voltage level?
- op amp freaking out in differentiator HOT 4
- File SaveAs
- Mouse Scroll Wheel Resistors and Capacitors Values HOT 13
- 'show frequency' is intermittent HOT 3
- Scope Vertical Scale HOT 2
- Labeled Nodes HOT 2
- Bug. Incorrect Diode behavior HOT 2
- "Outputs and Lables / Box" Selection HOT 1
- Comparotor OUT Spike HOT 1
- Default colors
- Tristate buffers can be sized such that it is impossible to connect their middle terminal
- Subcircuit terminals shared between all Instances. HOT 3
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 circuitjs1.