New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how does it actually works ? #9
Comments
@ctf0 for me the first example works fine can you give a detailed and exact example, what you did from your side? |
maybe it have to do with the insiders version am using, am not sure, if there is a way to debug this, plz tell me. |
how does your settings look like and where is the JS file stored? |
"ego.power-tools": {
"startup": [
// doesnt work
{
"script": "startup.js"
},
// show information msg, but cmnd give error
// Running shell command 'npm install' ... [FAILED: '[Error] 'Command failed: npm install
{
"command": "npm install",
"if": " !$fs.existsSync( $v['workspaceRoot'] + '/node_modules' ) "
}
]
},
exports.execute = async (args) => {
const vscode = args.require('vscode');
await refreshProjects(vscode)
};
async function refreshProjects(vscode)
{
await vscode.commands.executeCommand('projectManager.refreshProjects')
vscode.window.showInformationMessage(
'Project Manager: Refresh Projects'
);
} |
also keep getting this in the output
with settings of "ego.power-tools": {
"startup": [
{
"script": "startup.js"
}
]
}, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
i've followed the example of https://github.com/egomobile/vscode-powertools/wiki/Buttons but nothing works
The text was updated successfully, but these errors were encountered: