[BUG] Extension is activated when folder is not a devtools project but there is a mcdevrc file
@anasilva105 is already working on this.
Since Mar 13, 2025.
Assessment
This issue has not been assessed yet.
Description
Describe the bug
The extension is being activated when the folder is not a devtools project but it has the mcdevrc file for example in the node_modules folder.
To Reproduce
Steps to reproduce the behavior:
- Create and enter with VSCODE in a empty folder
- Create a subfolder and add a .mcdevrc.json file
- Reopen VSCode in this previous folder
- Check if the mcdev button appears on the status bar and shows the wrong logs
Expected behavior
Extension should only be activated when it's a devtools project = mcdevrc.json is in the root folder.
Screenshots
Environment:
- OS: win11
- VSCode Version:
- mcdev VSCode Extension Version: 2.2.1
Additional context
Add any other context about the problem here.
- Dominant language
- TypeScript
- Stars
- 7
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Accenture/sfmc-devtools-vscode
-
chore dependencies
Difficulty 1/5 Under an hour Newbie friendliness 72/100
-
chore NEW
Difficulty 3/5 1-2 days Newbie friendliness 52/100
-
chore NEW
Difficulty 3/5 1-2 days Newbie friendliness 35/100
-
[BUG] multi-select does not work for file tabsPossibly taken @JoernBerkefeld claimed this 255 days ago. Openbug NEW
Accenture/sfmc-devtools-vscode#222 · 1 reaction · 2 assignees ·
-
[FEATURE] build packageMay be free again @anasilva105 claimed this 942 days ago, and no pull request is open. Openenhancement NEW on hold
Accenture/sfmc-devtools-vscode#175 · 1 comment · 1 assignee ·
All issues in Accenture/sfmc-devtools-vscode
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
zabuton-app/meguri#875 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 86/100
iruzen-dono/workless#117 ·
Maintainers usually reply within 1 day
-
area:api area:web wave wave:trivial
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
vetro-protocol/vetro-monorepo#1321 ·
Maintainers usually reply within 1 day