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)
- Ctrl + 2 fingers click = 2 fingers click = context menu in the way on Mac M1 HOT 2
- Zooming and panning doesn't work on mobile HOT 2
- interrupts on avr8js
- Ignoring timestep and running simulations without UI updates HOT 1
- I've discovered free energy!
- There is no quick undo ! HOT 2
- 555 timer with non-ground negative supply HOT 3
- Apple Silicon (ARM) version ? HOT 4
- How to remove sub circuits from the Draw->Subcircuits menu
- Analog switch: Lack of input voltage settings in the Edit Component dialog
- low frame rate when speed is too high HOT 4
- Annoying unintentional drag of the drawn box or line
- BUG: Potentiometer wiper position change on file open (or on file save?)
- Feature Request: Plot charge in scope (useful for switched capacitors) - example provided
- The relay component switches to the intermediate state immediately giving incorrect results for some circuits.
- Coil voltage on open relay contacts ? HOT 2
- Uncaught Error: java.lang.StringIndexOutOfBoundsException HOT 1
- CirciutJS 2.8.1js run simulation not smooth in some circuits. HOT 2
- Question-Is this the place to add issues now? HOT 1
- Simulation wrong for reverse diode? 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 circuitjs1.