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

Custom indentation #2521

Open
TGekko opened this issue Oct 25, 2024 · 2 comments
Open

Custom indentation #2521

TGekko opened this issue Oct 25, 2024 · 2 comments
Labels
Devtools Code Bug Bugs related to Devtools code (not directly related to the VS code extension) enhancement New feature or request

Comments

@TGekko
Copy link

TGekko commented Oct 25, 2024

Is your feature request related to a problem? Please describe.
I would like to request the possibility to customize the "Default indentation" of the DevTools console minutely (1 or more spaces or a tab character).
I prefer single space indentation and that isn't possible in the DevTools console in Microsoft Edge or in the vscode extension.

Describe the solution you'd like:
Synchronize the console's indentation settings with the user's vscode indentation settings, or add settings similar to vscode's indentation settings to the DevTools extension.

Describe alternatives you've considered:
I considered using the DevTools console window in Microsoft Edge, but its indentation settings are limited to "2 spaces", "4 spaces", "8 spaces" or "Tab character" and doesn't have an additional setting for rendering the tab character with a custom width.
If the Microsoft Edge DevTools had "1 space" as an option, that would fix the problem too.

Additional context:
It might be useful to note that the settings found in Microsoft Edge do not seem readily available in the vscode extension, -- I couldn't find them, -- and enabling "sync settings" didn't seem to affect the console either. Adding access to these DevTools settings wouldn't solve the issue, but it seemed noteworthy.

@vidorteg
Copy link
Contributor

vidorteg commented Nov 8, 2024

Hi @TGekko

Thank you for the feedback. As the extension uses the same code as the Edge Devtools we would need to add it there first, then we could work on the sync between vscode and the extension once it lands on the Stable channel. For this, could you open a feature request in the following github repository (it can be a copy/paste of the message you have in here):

https://github.com/MicrosoftEdge/DevTools/issues/new?assignees=&labels=feature&projects=&template=feature.md

This will help tracking the two different pieces and make the right people aware of it. I'll keep this issue open while we wait a response on the new thread. Thank you for using the Edge Devtools for VSCode extension.

@vidorteg vidorteg added enhancement New feature or request Devtools Code Bug Bugs related to Devtools code (not directly related to the VS code extension) labels Nov 8, 2024
@TGekko
Copy link
Author

TGekko commented Nov 9, 2024

Hello @vidorteg

Using your link, I posted my suggestion there.
Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Devtools Code Bug Bugs related to Devtools code (not directly related to the VS code extension) enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants