!kexcdELZIDtHBzNFnb:matrix.org

VSCode

269 Members
Visual Studio Code https://code.visualstudio.com/20 Servers

Load older messages


SenderMessageTime
28 Jun 2020
@gitter_arangan__twitter:matrix.orgarangan (Gitter) anybody has been facing issues debugging c# code ?
every time, after i run the code ( ctrl + F5) , i am unable to debug ( F5 ) .. the breakpoints are not being hit debugging symbols not loaded.
i have to restart VScode for debugging to work again
16:31:34
@gitter_glopesdev:matrix.orgglopesdev (Gitter) joined the room.18:18:37
@gitter_glopesdev:matrix.orgglopesdev (Gitter) is there a way to remove the worktree property when cloning a github repository on vscode? It fills the property with a Windows path which breaks WSL when running jekyll 18:18:37
@gitter_glopesdev:matrix.orgglopesdev (Gitter) when I remove that line it works fine, and it seems to be vscode's git extension that uses it. when i clone from the command line it's not there and everything works fine 18:19:15
@gitter_glopesdev:matrix.orgglopesdev (Gitter)this is really annoying since the worktree property is set to an absolute windows path, so it breaks if you move the repository or run any git command on it using WSL18:35:13
@gitter_glopesdev:matrix.orgglopesdev (Gitter) to make it even more annoying this only happens on newly configured machines, old machines (including mine) don't have this behavior 18:38:49
@gitter_tietyt:matrix.orgtieTYT (Gitter)is there any way to change the undo behavior? It seems to me that every space you type add something to the stack. So if I type III words, I have to undo 3 times. I prefer to work more like a text editor, where I only have to type undo once here.23:48:48
@gitter_tietyt:matrix.orgtieTYT (Gitter) (edited) ... type III words, ... => ... type 3 words, ... 23:49:09
29 Jun 2020
@gitter_henrikholmit:matrix.orgHenrikHolmIT (Gitter) Is there a way to force an open editor to reload file? I had to pass editing an open file using the editor object and am updating the file on disc. I make sure the file isn't dirty first and VSCode will update the text in the editor but not fast enough. When I make the change on disc and compare the text in file and text in editor they are different. I need to make sure that the editor has updated with the insert text. textEditor does not have a refresh of any kind... 09:01:10
@gitter_darsain:matrix.orgdarsain (Gitter) why is this snippet not working as expected? import ${0:${1:module}} from '${1}'; I'd expect the first placeholder to be selected after pressing tab, but instead it only selects the first letter of the first placeholder 13:16:57
@gitter_henrikholmit:matrix.orgHenrikHolmIT (Gitter)Fixed it by counting lines in file and editor.document. When those 2 match I continue. And I only allow to wait max 2 seconds. 13:17:08
@gitter_henrikholmit:matrix.orgHenrikHolmIT (Gitter)How do I convert a file to a base64 string?13:20:21
@gitter_ablakey:matrix.orgAndrew Blakey (Gitter) joined the room.19:29:24
@gitter_ablakey:matrix.orgAndrew Blakey (Gitter)

I'm curious before I start digging too deep, does the extension API for Vscode enable access to the data obtained within the context of a debug session?

For example, I debug an emulator with a 32_000 sized vector of integers. Basically impossible to use the debugger to examine this. I was thinking of making an extension that shows a pane representing selected debug variables in a more appropriate hex readout interface.

19:29:27
1 Jul 2020
@gitter_cariboujohn:matrix.orgJohn Heath (Gitter) @arangan__twitter I had a similar issue with typescript , the unbound / unverified breakpoints were due to the debug session not mapping them to the source correctly. In the launch (NOTE for typescript) I had to add an entry https://media.discordapp.net/attachments/470167643710816279/725724172277252096/unknown.png 10:58:15
@gitter_cariboujohn:matrix.orgJohn Heath (Gitter) my point being that perhaps its similar and there is a "delaying" entry or some mapping entry (root/srcdir) that can allow the vscode debug stuff to sync properly 11:09:09
@gitter_westfarmer:matrix.org@gitter_westfarmer:matrix.orgis there any in cloud vscode ready for use ?11:10:58
@gitter_westfarmer:matrix.org@gitter_westfarmer:matrix.org left the room.11:12:14
@gitter_arangan__twitter:matrix.orgarangan (Gitter) set a profile picture.15:18:25
@gitter_arangan__twitter:matrix.orgarangan (Gitter) @CaribouJohn thank you for that. Let me look into it. 15:20:58
@gitter_thetruemadgod:matrix.orgTheTrueMadGod (Gitter) joined the room.16:10:15
@gitter_thetruemadgod:matrix.orgTheTrueMadGod (Gitter) Maybe I am too dumb to find the solution the docs/prefs but it drives me nuts that vscode "shifts left" when I type [] {} || in a java editor ... so if i type x==y || it produces x|=|y . I want to teach it to "Shift right" after It generates a bracket pair or after I type a pipe. Must be a misconfig on my side, but i cannot find it for the life of me. 16:10:16
@gitter_thetruemadgod:matrix.orgTheTrueMadGod (Gitter) To clarify my problem, I of course mean the cursor shifts left. :) So if i type [] the cursor ends up on the left side of the bracket pair, same with "@", "{}" and worst with "|" since i tend to type fast. 16:21:04
@gitter_glennicholls:matrix.orgGlenNicholls (Gitter) @all I have opened an issue for nested snippets microsoft/vscode#101526. I have opened a couple of issues in the past that did not receive enough community upvotes. If you see value in having nested snippets, I would appreciate an upvote! 16:35:47
2 Jul 2020
@gitter_davidbakereffendi:matrix.orgDavid Baker Effendi (Gitter) joined the room.20:05:11
@gitter_davidbakereffendi:matrix.orgDavid Baker Effendi (Gitter)

Hi all, I've been struggling to figure out how I would go about adding linting to an extension I've created (which only supports syntax highlighting currently). I thought I'd just throw my question out on here:

I can lint the code from the document (extracting code from looking at the github.com/microsoft/vscode-extension-samples on text-decoration) but I'm not sure if should decorate the text with underlines myself (using something like createTextEditorDecorationType) or report the warnings and errors via the VSCode API. I've looked at ESLint and PyLint as examples but they are quite large and overwhelming but I get the direction that linting errors and warnings are reported to the VSCode API somehow.

Does anyone have advice on where I can get started on reporting linting issues and/or the basic process for linting in extensions? Any advice or suggestions would be greatly appreciated, thanks!

20:05:14
3 Jul 2020
@gitter_murznn:matrix.orgAlexey Murz Korepov (Gitter) joined the room.08:07:58
@gitter_murznn:matrix.orgAlexey Murz Korepov (Gitter) Hello! Is there any ways to search text in "Results" window of MySQL (or other SQL) extension? Ctrl+F not working, right-click too. 08:07:58
@gitter_murznn:matrix.orgAlexey Murz Korepov (Gitter)

Hello! Is there any ways to search text in "Results" window of MySQL (or other SQL) extension? Ctrl+F not working, right-click too.

I post issue about this here formulahendry/vscode-mysql#143

11:46:09
@gitter_murznn:matrix.orgAlexey Murz Korepov (Gitter) (edited) ... here https://github.com/formulahendry/vscode-mysql/issues/143 => ... here https://github.com/formulahendry/vscode-mysql/issues/143 but seems this is VS Code limitation? 11:46:34

There are no newer messages yet.


Back to Room List