-
Notifications
You must be signed in to change notification settings - Fork 9
VS2022 Issues and Solutions
Valk edited this page Oct 1, 2024
·
35 revisions
Description:
A white outline box appears on the current line of code, making it difficult to focus.
Solution:
- Go to
Tools > Options
. - Navigate to
Text Editor > General
. - Under the
Display
section, uncheckHighlight Current Line
. - Click
OK
to save the changes.
Description:
While scrolling through code, method colors flash white and blue, causing visual distraction.
Solution:
- Uninstall the Godot extension as apparently it's not needed? (the Godot extension is what is causing the colors to change on scroll)
- Close VS2022
- Always open the solution file (
Template.sln
) before opening any script through Godot (this way definitions made by source generators will get registered properly) - Observe how the flashing issue is gone and VS2022 intellisense still works properly with Godot
Description:
The Backspace
key and other keys stop functioning in the editor.
Solution:
- Restart Visual Studio 2022.
- If the issue persists, restart Visual Studio 2022 again. Multiple restarts may be necessary.
Description:
The Ctrl + D
shortcut does not duplicate the current line onto the next line.
Solution:
- Go to
Tools > Options
. - Navigate to
Environment > Keyboard
. - In the
Show commands containing
text box, typeEdit.Duplicate
. - Select the
Edit.Duplicate
command from the list. - In the
Press shortcut keys
text box, pressCtrl + D
. - Click
Assign
to assign the shortcut. - Click
OK
to save the changes.