Project Explorer in VS Code similar to AHK Studio

Scripting and setups with Visual Studio Code (vscode) and AutoHotkey.
Heezea
Posts: 59
Joined: 30 Sep 2013, 21:33

Project Explorer in VS Code similar to AHK Studio

08 Sep 2022, 15:39

In VS Code, is it possible to show a "Project Explorer" similar to AHK Studio? Please see example below.

This is something I love about AHK Studio but didn't find it mentioned in any of the posts or videos on VS Code.

One of the best features is the when you full search (alt+q in AHK Studio), it searches all the includes and libraries. Another feature I love is that if you are in say "Include script 1" within the "Main Script" branch, when you Run, it will run "Main Script", not "Include script 1".

Example:

Code: Select all

+Projects
 	+Main Script
		-Include script 1
		-Include Script 2
		-Include Script 3
	+Other Script
		-Include Script 1
	+Libraries
		-Acc
		-AccViewer
I realize there is the regular Explorer, but this isn't quite the same. If you add a whole folder, it adds all subfolders too. Sometimes I have "backup" folders in there that I don't want to include.
User avatar
thqby
Posts: 427
Joined: 16 Apr 2021, 11:18
Contact:

Re: Project Explorer in VS Code similar to AHK Studio

09 Sep 2022, 07:10

set search.exclude
image.png
image.png (218.64 KiB) Viewed 1785 times
A better approach is to find all references. But this requires support by extension.
image.png
image.png (162.11 KiB) Viewed 1785 times
You can set the entry file of the debugger in launch.json
image.png
image.png (81.45 KiB) Viewed 1785 times

Return to “Visual Studio Code”

Who is online

Users browsing this forum: No registered users and 4 guests