davidpcahill / auto-select-pasted-text

Enhance VSCode: Auto-select pasted text for faster editing & precise indentation. Ideal for web code samples & ChatGPT. Save time in coding sessions.
https://marketplace.visualstudio.com/items?itemName=davidcahill.auto-select-pasted-text&ssr=false#overview
MIT License
5 stars 0 forks source link

Noticed a issue with pasting after installed extension #1

Open mjoe67886 opened 11 months ago

mjoe67886 commented 11 months ago

Yeah I didn't notice this before with any of my other extensions right after I installed your extension I noticed it but still with so many extensions that I have you know I still can't definitely know but something to keep an eye on...

I select text and then paste it in everything gets highlighted but one of the items below the text I selected gets also unindented as you can see in the video and then when I undo the highlighting is it isn't how I initially highlighted it I think that's really important to make certain this is really precise... And sorry there's no audio on the video I unhooked my mic to do motion capture.

mjoe67886 commented 11 months ago

https://drive.google.com/file/d/1NQSkw1rT4pKWuPIEOmoPkDWMY3MA_9_O/view?usp=sharing

mjoe67886 commented 11 months ago

Then after I install I'm kinda new to visual studio code but I click the button that said reload and it look like it did something but I went to paste in my text again in the formatting was all off I actually had to save my file and restart visual studio code to get it to work right again not sure if any of this is my failing at all but something to keep an eye on

mjoe67886 commented 11 months ago

{ "files.autoSave": "onFocusChange", "git.allowForcePush": true, "security.workspace.trust.untrustedFiles": "open", "explorer.confirmDelete": false, "editor.dragAndDrop": false, "audioCues.diffLineDeleted": "off", "audioCues.diffLineInserted": "off", "audioCues.diffLineModified": "off", "audioCues.lineHasBreakpoint": "off", "audioCues.lineHasError": "off", "audioCues.lineHasFoldedArea": "off", "audioCues.lineHasInlineSuggestion": "off", "audioCues.noInlayHints": "off", "editor.mouseWheelScrollSensitivity": 5, "editor.autoClosingBrackets": "never", "editor.autoClosingQuotes": "never", "editor.wordWrap": "on", "chat.editor.wordWrap": "on", "prettier.useTabs": true, "workbench.editor.enablePreview": false, "editor.hover.delay": 1000, "workbench.sash.hoverDelay": 1000, "[python]": { "editor.defaultFormatter": "ms-python.python" }, "search.useGlobalIgnoreFiles": true, "search.useParentIgnoreFiles": true }

mjoe67886 commented 11 months ago

O K it wasn't your functionality at all I apologize it was one of the above settings

mjoe67886 commented 11 months ago

One thing I did notice is after installing your extension is that control V in my keyboard shortcut now says paste and select and when I use control V to paste in my find box it just pasted directly into my file someplace and I can't undo it either so I'm not certain why that is

mjoe67886 commented 11 months ago

Not about the control v keyboard shortcut and find but just some more information with python you could always suggest to your end users after they install your extension to use the black formatter because that's a really awesome python formatter and that's what I ended up doing so I don't know if you do python but just an idea so people can know that right off the bat...

davidpcahill commented 11 months ago

Sorry for the delay! Thank you very much for the report. Are you running the latest version 0.3.4? Either way I'll look into this as soon as I can. Thanks again!

davidpcahill commented 11 months ago

Just looked at your video.

O K it wasn't your functionality at all I apologize it was one of the above settings

No worries either way! If you know what conditions reproduce it (include what was in your clipboard and how I could replicate it on my side from a new file) that would help a lot! Let me know if you are still having problems and I'll help you work through it. I know there are some weird edge cases that are super hard to deal with. Thanks for being a user!