visual-studio-code

Unity3D on Ubuntu 19.10 with vscode and C# extension : get an error and the autocomplete doesn't working

徘徊边缘 提交于 2020-12-05 22:20:11
问题 I'm a web developer (symfony <3 ;) C# and microsoft technologies are new for me ! ) and during the covid containment I want create a simple game with the game engine unity On Ubuntu 19.10 , I downloaded unity Hub v2.3.0 (https://unity3d.com/get-unity/download) From unity hub, I installed unity3D v2019.3.7f1 (the lastest stable) with some options ( Linux & WebGL & windows build support ) And I created a simple 2D game All works like a charm, I can open my project and run my new game without

VSCode tasks error: /bin/bash: npm: command not found

末鹿安然 提交于 2020-12-05 12:13:41
问题 I've been using node and npm forever. Right now, however, when do command shift p , Tasks: Run task , npm build , I get this error message: Executing task: npm install < /bin/bash: npm: command not found The terminal process terminated with exit code: 127 Terminal will be reused by tasks, press any key to close it. In the terminal, node and npm work fine. I even tried running /bin/bash; node -v and that works fine. 回答1: Since this is the first result on Google, I want to share my solution

VSCode tasks error: /bin/bash: npm: command not found

半腔热情 提交于 2020-12-05 12:12:32
问题 I've been using node and npm forever. Right now, however, when do command shift p , Tasks: Run task , npm build , I get this error message: Executing task: npm install < /bin/bash: npm: command not found The terminal process terminated with exit code: 127 Terminal will be reused by tasks, press any key to close it. In the terminal, node and npm work fine. I even tried running /bin/bash; node -v and that works fine. 回答1: Since this is the first result on Google, I want to share my solution

VS Code Open new terminal from powershell

て烟熏妆下的殇ゞ 提交于 2020-12-05 10:02:00
问题 VS Code (Windows 10) What I want to achieve from ps1 script : open 4 terminal tabs first one run python venv and then run django server second one run python venv and then run django shell third one run react (yarn start) fourth normal powershell for git and other I created a powershell script that I run from default opened terminal. Now I'd like to open a new terminal tab from first one. Can I fire a vs code command shortcut (Ctrl+`) or a vs code command palette (Ctrl+Shift+P) from terminal

VS Code Open new terminal from powershell

∥☆過路亽.° 提交于 2020-12-05 09:58:17
问题 VS Code (Windows 10) What I want to achieve from ps1 script : open 4 terminal tabs first one run python venv and then run django server second one run python venv and then run django shell third one run react (yarn start) fourth normal powershell for git and other I created a powershell script that I run from default opened terminal. Now I'd like to open a new terminal tab from first one. Can I fire a vs code command shortcut (Ctrl+`) or a vs code command palette (Ctrl+Shift+P) from terminal

How to close the search toggle for vscode?

与世无争的帅哥 提交于 2020-12-05 02:34:04
问题 This is an extremely stupid question... but how do I close/toggle the search box in vscode? I hit [ cmd + shift + f ] to do a global search, but then I need to reach for my mouse to actually close the box to allow for more screen space. I've searched through their issues, and there seems to be another user in the past who also experienced something similar --> https://github.com/Microsoft/vscode/issues/32613 , but the solution provided of cmd - b only works for closing the sidebar. My

How can I cleanly remove Workspaces in Visual Studio Code?

旧街凉风 提交于 2020-12-04 19:36:01
问题 I'm on a MAC and remove workspaces with the terminal in the folder ~/Library/Application Support/Code/User/workspaceStorage , but i don't think it's the clean way. Can someone explain me how I can remove cleanly a workspace and all its files from my mac? I miss this feature. I can add many workspaces, but where is the "delete button"? I use Visual Studio Code V.1.28.2 on macOS Mojave 10.14. 回答1: Visual Studio Code 1.32.3. Windows 10. Here's the answer from the Twitter account of Visual studio

How can I cleanly remove Workspaces in Visual Studio Code?

拟墨画扇 提交于 2020-12-04 19:35:24
问题 I'm on a MAC and remove workspaces with the terminal in the folder ~/Library/Application Support/Code/User/workspaceStorage , but i don't think it's the clean way. Can someone explain me how I can remove cleanly a workspace and all its files from my mac? I miss this feature. I can add many workspaces, but where is the "delete button"? I use Visual Studio Code V.1.28.2 on macOS Mojave 10.14. 回答1: Visual Studio Code 1.32.3. Windows 10. Here's the answer from the Twitter account of Visual studio

How can I cleanly remove Workspaces in Visual Studio Code?

杀马特。学长 韩版系。学妹 提交于 2020-12-04 19:32:49
问题 I'm on a MAC and remove workspaces with the terminal in the folder ~/Library/Application Support/Code/User/workspaceStorage , but i don't think it's the clean way. Can someone explain me how I can remove cleanly a workspace and all its files from my mac? I miss this feature. I can add many workspaces, but where is the "delete button"? I use Visual Studio Code V.1.28.2 on macOS Mojave 10.14. 回答1: Visual Studio Code 1.32.3. Windows 10. Here's the answer from the Twitter account of Visual studio

VSCode: The term 'python' is not recognized…but py works

我们两清 提交于 2020-12-04 18:40:12
问题 I just installed python on VS Code and I can't run any python code using python command. python command: Running the code seems to run python command by default and it does not recognize it. When I right click and choose Run Code it complains: 'python' is not recognized as an internal or external command, operable program or batch file Same goes for manually running python main.py . When I open an elevated PowerShell and run python , it complains: python : The term 'python' is not recognized