Skip to content

Commit

Permalink
Merge pull request #57 from DeepBlueRobotics/add-auto-formatting-of-m…
Browse files Browse the repository at this point in the history
…odified-lines-on-save

Add auto formatting of modified lines when saving from vscode
  • Loading branch information
brettle authored Apr 25, 2024
2 parents b3acee2 + 116456b commit 21cc0b6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
12 changes: 8 additions & 4 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,18 @@
{
"name": "WPIlibUnitTests",
"workingDirectory": "${workspaceFolder}/build/jni/release",
"vmargs": [ "-Djava.library.path=${workspaceFolder}/build/jni/release" ],
"vmargs": [
"-Djava.library.path=${workspaceFolder}/build/jni/release"
],
"env": {
"LD_LIBRARY_PATH": "${workspaceFolder}/build/jni/release" ,
"LD_LIBRARY_PATH": "${workspaceFolder}/build/jni/release",
"DYLD_LIBRARY_PATH": "${workspaceFolder}/build/jni/release"
}
},
],
"java.test.defaultConfig": "WPIlibUnitTests",
"wpilib.skipTests": true,
"java.debug.settings.onBuildFailureProceed": true
}
"java.debug.settings.onBuildFailureProceed": true,
"editor.formatOnSave": true,
"editor.formatOnSaveMode": "modificationsIfAvailable"
}
2 changes: 0 additions & 2 deletions src/main/java/org/carlmontrobotics/Robot.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
import edu.wpi.first.wpilibj2.command.Command;
import edu.wpi.first.wpilibj2.command.CommandScheduler;



public class Robot extends TimedRobot {

private Command m_autonomousCommand;
Expand Down

0 comments on commit 21cc0b6

Please sign in to comment.