Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing intellisense for sourceMapRenames #1053

Closed
rzhao271 opened this issue Jul 7, 2021 · 2 comments
Closed

Missing intellisense for sourceMapRenames #1053

rzhao271 opened this issue Jul 7, 2021 · 2 comments
Assignees
Labels
feature-request Request for new features or functionality

Comments

@rzhao271
Copy link
Contributor

rzhao271 commented Jul 7, 2021

Testing #1033

Is your feature request related to a problem? Please describe.
I tried adding in sourceMapRenames and noticed that it wasn't a suggested option. I also typed in "false" instead of false by accident at first, since there wasn't a suggestion to press tab on.

Describe the feature you'd like
I'd like Intellisense to be added for the sourceMapRenames key.

@rzhao271 rzhao271 added the feature-request Request for new features or functionality label Jul 7, 2021
@connor4312
Copy link
Member

This is not readily possible today since we don't know what names are actually relevant in the current scope. Js-debug makes a guess if you type identifiers that have a rename, but it automatically falls back if they're undefined in the current scope.

It would be possible to find relevant renames if we did source code analysis on the project, but this has the potential to be expensive, especially for large minified bundles.

@rzhao271
Copy link
Contributor Author

rzhao271 commented Dec 7, 2022

The issue seems to be fixed now. I am able to add that key in a config in launch.json.

@rzhao271 rzhao271 closed this as not planned Won't fix, can't repro, duplicate, stale Dec 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Request for new features or functionality
Projects
None yet
Development

No branches or pull requests

2 participants