visual-studio-code

VSCode: Prevent split editor from resizing when focusing?

不羁岁月 提交于 2020-12-12 04:38:59
问题 With multiple editor groups open, and one of them made small enough, focusing the small one causes it to get bigger until you switch back to another editor. I'd prefer it leave everything at the size I set. Is there a setting to prevent this? Note how it has to be made small first old example 回答1: If you don't minimize the group all the way - you only have to stop just a tiny bit short of complete minimization (maybe only a pixel short) - then shifting focus between groups will not change

Setting Flutter log Levels / Flutter printing thousands of verbose lines

扶醉桌前 提交于 2020-12-12 04:06:41
问题 Flutter log prints thousands of verbose/spam logs. I am trying to debug a complex app but flutter printing so much verbose that it is difficult for me to find things which i am printing myself. Is there any way to disable Verbose? Something like: Logger.level.disable('verbose') My platform: Doctor summary (to see all details, run flutter doctor -v): [√] Flutter (Channel stable, v1.12.13+hotfix.8, on Microsoft Windows [Version 10.0.18362.657], locale en-US) [√] Android toolchain - develop for

Setting Flutter log Levels / Flutter printing thousands of verbose lines

非 Y 不嫁゛ 提交于 2020-12-12 04:04:41
问题 Flutter log prints thousands of verbose/spam logs. I am trying to debug a complex app but flutter printing so much verbose that it is difficult for me to find things which i am printing myself. Is there any way to disable Verbose? Something like: Logger.level.disable('verbose') My platform: Doctor summary (to see all details, run flutter doctor -v): [√] Flutter (Channel stable, v1.12.13+hotfix.8, on Microsoft Windows [Version 10.0.18362.657], locale en-US) [√] Android toolchain - develop for

RVM not working properly in VS Code Debugger

强颜欢笑 提交于 2020-12-08 13:14:51
问题 I'm using RVM to manage Ruby versions where I work. We have two Rails repos, one Desktop and one Mobile. The Desktop repo uses Ruby 2.2.4 and the Mobile repo uses 2.2.2. I know that RVM has the functionality of automatically switching the appropriate Ruby version which is specified in the Gemfile (which is specified in our case in both the Gemfiles). Now, when I use the default terminal, and run the ruby -v command, inside individual project root directories, it displays the appropriate

RVM not working properly in VS Code Debugger

删除回忆录丶 提交于 2020-12-08 13:12:34
问题 I'm using RVM to manage Ruby versions where I work. We have two Rails repos, one Desktop and one Mobile. The Desktop repo uses Ruby 2.2.4 and the Mobile repo uses 2.2.2. I know that RVM has the functionality of automatically switching the appropriate Ruby version which is specified in the Gemfile (which is specified in our case in both the Gemfiles). Now, when I use the default terminal, and run the ruby -v command, inside individual project root directories, it displays the appropriate

JUnit in Visual Studio Code

倖福魔咒の 提交于 2020-12-08 07:09:43
问题 I'm having all sorts of trouble running JUnit in Visual Studio Code. I have had two main problems that do not co-exist in each all the projects I've created. Problem 1 : After creating and running a Java project, if I attempt to add a JUnit test class, the program cannot find the class/test. I should see an option to run or debug my test, but no such option pops up. Also when I click on the test Explorer tab, I don't see the test class listed, but it is in the project folder. Problem 2: I

VSCode debugger attach to local process

元气小坏坏 提交于 2020-12-08 05:32:05
问题 One of the great features of PyCharm is that it allows its debugger to attach to python processes running locally (and outside of the IDE). As I am trying to move to VSCode to work in Python, I am struggling to configure launch.json to simulate PyCharm's attach to local process feature. { "name": "Python: Attach", "type": "python", "request": "attach", "localRoot": "${workspaceFolder}", "remoteRoot": "${workspaceFolder}", "port": 8001, "secret": "my_secret", "host": "localhost" }, This

How to make codeRunner in VS code recognize my current working directory?

给你一囗甜甜゛ 提交于 2020-12-08 01:56:23
问题 I recently downloaded VSCode. Im doing some development work. Usually I do the following steps: 1) cd into my Dev folder 2) then code my_projects Now inside my_projects folder, its the root workspace directory. I have my VS code opened, and can navigate to following folders/files: my_projects/ > DBHelper > dbhelper.py > config.ini > PortfolioManagement > Learning Now when i open dbhelper.py, I tried the following test: import os print(os.getcwd()) I get the following: my_projects But I'm

How to make codeRunner in VS code recognize my current working directory?

六眼飞鱼酱① 提交于 2020-12-08 01:55:03
问题 I recently downloaded VSCode. Im doing some development work. Usually I do the following steps: 1) cd into my Dev folder 2) then code my_projects Now inside my_projects folder, its the root workspace directory. I have my VS code opened, and can navigate to following folders/files: my_projects/ > DBHelper > dbhelper.py > config.ini > PortfolioManagement > Learning Now when i open dbhelper.py, I tried the following test: import os print(os.getcwd()) I get the following: my_projects But I'm

How to make codeRunner in VS code recognize my current working directory?

微笑、不失礼 提交于 2020-12-08 01:54:45
问题 I recently downloaded VSCode. Im doing some development work. Usually I do the following steps: 1) cd into my Dev folder 2) then code my_projects Now inside my_projects folder, its the root workspace directory. I have my VS code opened, and can navigate to following folders/files: my_projects/ > DBHelper > dbhelper.py > config.ini > PortfolioManagement > Learning Now when i open dbhelper.py, I tried the following test: import os print(os.getcwd()) I get the following: my_projects But I'm