Skip to content
This repository has been archived by the owner on Jul 3, 2024. It is now read-only.

Commit

Permalink
refactor(solidity/extension): ranmed formatter commands names
Browse files Browse the repository at this point in the history
  • Loading branch information
0xmemorygrinder committed Jan 23, 2024
1 parent 2e4762a commit 22a852c
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 773 deletions.
2 changes: 1 addition & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
compressionLevel: mixed
nodeLinker: node-modules
enableGlobalCache: false
enableGlobalCache: false
8 changes: 4 additions & 4 deletions toolchains/solidity/extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@
},
"commands": [
{
"command": "osmium.lint-sol-file",
"title": "Osmium: Lint Solidity File"
"command": "osmium.format-sol-file",
"title": "Osmium: Format Solidity File"
},
{
"command": "osmium.lint-sol-workspace",
"title": "Osmium: Lint Solidity Workspace"
"command": "osmium.format-sol-workspace",
"title": "Osmium: Format Solidity Workspace"
}
],
"languages": [
Expand Down
4 changes: 2 additions & 2 deletions toolchains/solidity/extension/src/fmt-wrapper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ function forgeFmt(

function registerForgeFmtLinter(context: vscode.ExtensionContext) {
const lintSolFile = vscode.commands.registerCommand(
"osmium.lint-sol-file",
"osmium.format-sol-file",
function () {
if (!isFmtInstalled()) {
vscode.window.showErrorMessage(
Expand Down Expand Up @@ -149,7 +149,7 @@ function registerForgeFmtLinter(context: vscode.ExtensionContext) {
);

const lintSolWorkspace = vscode.commands.registerCommand(
"osmium.lint-sol-workspace",
"osmium.format-sol-workspace",
function () {
if (!isFmtInstalled()) {
vscode.window.showErrorMessage(
Expand Down
Loading

0 comments on commit 22a852c

Please sign in to comment.