Skip to content

Is there anyway to specify custom asconfig.json path? #778

Closed Answered by joshtynjala
ylazy asked this question in Q&A
Discussion options

You must be logged in to vote

Similar to TypeScript's tsconfig.json, asconfig.json is intended to be placed at the root of the project, and not in a sub-directory.

vscode-as3mxml can detect asconfig.json files in sub-directories, and it treats each one as a separate project. However, when asconfig.json is in a sub-directory, the sub-directory will be considered the root of the project for that asconfig.json file. You can certainly update the paths in asconfig.json (like ../src instead of ./src and ../bin instead of ./bin). However, there may be some issues. For instance, if the workspace folder doesn't contain an asconfig.json at its root, VSCode won't know to activate the extension until you open an .as or an .mxml f…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ylazy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants