Skip to content

If you heard about my LazyDeveloperHelper - this the same, but for Visual Studio Code!

License

Notifications You must be signed in to change notification settings

Silletr/LazyDeveloperHelper_VSC

Repository files navigation

FOR FUTURE USING:

// Work with Files/Projects 
const workspace = vscode.workspace.workspaceFolders?.[0];
if (workspace) {
  const filePath = vscode.Uri.joinPath(workspace.uri, 'path/to/file');
}

// Execute command in terminal (but first open it)
const terminal = vscode.window.createTerminal('LazyDev');
terminal.sendText('pip install numpy');
terminal.show();

// child_process for Python scripts 
import { spawn } from 'child_process';
const child = spawn('python3', ['path/to/installer.py', 'numpy']);
child.stdout.on('data', (data) => console.log(data.toString()));

About

If you heard about my LazyDeveloperHelper - this the same, but for Visual Studio Code!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors