Posts

Showing posts with the label vscode-settings

Change location that VS Code terminal is using

Change location that VS Code terminal is using for some reason my VS Code terminal is based in some random folder, and I have to use an extension to refer to my folder every time I use it. Any settings I can change to make the terminal refer to a different folder? 1 Answer 1 If you open a folder, the terminal should open at the root of that folder. So there might be a misconfiguration somewhere. But if you want to specify a folder: // An explicit start path where the terminal will be launched, this is used as the // current working directory (cwd) for the shell process. This may be particularly // useful in workspace settings if the root directory is not a convenient cwd. "terminal.integrated.cwd": "", Thanks for the reply, I tried this, but once I change it I cannot use the terminal, is this the correct usage? - "terminal.integrated.cwd": ...

VSCode regex find and select data from specific group (not replace)

VSCode regex find and select data from specific group (not replace) Consider the following dataset: <uses-configuration android:reqFiveWayNav=["true" | "false"] android:reqHardKeyboard=["true" | "false"] android:reqKeyboardType=["undefined" | "nokeys" | "qwerty" | "twelvekey"] android:reqNavigation=["undefined" | "nonav" | "dpad" | "trackball" | "wheel"] android:reqTouchScreen=["undefined" | "notouch" | "stylus" | "finger"] /> I am trying to select all the values after android: In order to do this, i am using (aw+:)(w+) which does exactly what i want. I know that I can use the search and replace and use $2 to select the second group, but I dont want to replace anythin. I want to select anything the second group matches with alt+enter key press. android: (aw+:)(w+) $2 alt+enter Is this possible? ...