Skip to content

Commit 8f25ff1

Browse files
authored
Undo replacements for SubsystemBase (#620)
Matches wpilibsuite/allwpilib#5634
1 parent 127a0c1 commit 8f25ff1

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

vscode-wpilib/resources/cpp_replacements.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,7 @@
4848
{ "from": "wpi[\\\\/]span", "to": "span" },
4949
{ "from": "wpi::span<", "to": "std::span<" },
5050
{ "from": "frc2::CommandBase", "to": "frc2::Command" },
51-
{ "from": "frc2::SubsystemBase", "to": "frc2::Subsystem" }
52-
{ "from": "frc2[\\\\/]command[\\\\/]CommandBase[.]h", "to": "frc2/command/Command.h" },
53-
{ "from": "frc2[\\\\/]command[\\\\/]SubsystemBase[.]h", "to": "frc2/command/Subsystem.h" }
51+
{ "from": "frc2[\\\\/]command[\\\\/]CommandBase[.]h", "to": "frc2/command/Command.h" }
5452
]
5553
}
5654
]

vscode-wpilib/resources/java_replacements.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,7 @@
139139
{ "from": "Preferences[.]getInstance[(][)][.]", "to": "Preferences." },
140140
{ "from": "SendableRegistry[.]getInstance[(][)][.]", "to": "SendableRegistry." },
141141
{ "from": "[.]get(\\w*)[(](?:GenericHID[.])?Hand[.]k(\\w*)[)]", "to": ".get$2$1()" },
142-
{ "from": "CommandBase", "to": "Command" },
143-
{ "from": "SubsystemBase", "to": "Subsystem" }
142+
{ "from": "CommandBase", "to": "Command" }
144143
]
145144
}
146145
]

0 commit comments

Comments
 (0)