-
Notifications
You must be signed in to change notification settings - Fork 2k
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
why TypeScript tab_size 2 #11686
Comments
I seem to recall that the Typescript LSP |
These settings include User Settings, Default Settings, Project Settings, and the lsp settings within these settings, as well as the lsp Default Settings and the EditorConfig file, or any other lsp settings file. |
It's set at the language level:
|
In the setup there are |
The |
Check for existing issues
Describe the bug / provide steps to reproduce it
Why does TypeScript have a tab size of 2 without any settings?
default
![image](https://private-user-images.githubusercontent.com/19868292/329753771-0212e7c6-2206-4604-937f-e6d40c924f13.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTkxODQ5NjgsIm5iZiI6MTcxOTE4NDY2OCwicGF0aCI6Ii8xOTg2ODI5Mi8zMjk3NTM3NzEtMDIxMmU3YzYtMjIwNi00NjA0LTkzN2YtZTZkNDBjOTI0ZjEzLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MjMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjIzVDIzMTc0OFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTMxMTY5MzFkYjVlZmI3MjFhYzM0Y2QxN2E3Nzk1NjA3NjIwZjY2NjdjYTI1ZWRiMWFiYjRhN2Q3M2NhMzcxMzEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.dySwXJVXp6fA0Z25HBi2hMK48VhxH1eXUkIacoN-nd4)
no in languages
![image](https://private-user-images.githubusercontent.com/19868292/329753710-663f438d-6720-4a22-9f88-3dae26ec6f72.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTkxODQ5NjgsIm5iZiI6MTcxOTE4NDY2OCwicGF0aCI6Ii8xOTg2ODI5Mi8zMjk3NTM3MTAtNjYzZjQzOGQtNjcyMC00YTIyLTlmODgtM2RhZTI2ZWM2ZjcyLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MjMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjIzVDIzMTc0OFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWNlOTRjOWI5YTA0NGNmM2ZkYzAxNmE4NmZjZTFjZDM2YWRiY2Y5ZjEzNmM4ZDU4NzRkNTdjYzc2ODZjNGQ5YzcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.7wMtGMBfdFmOHKOMX6ZjhRnJDwqsWGJWgt5ySLz3D_I)
I don't know if it's a misunderstanding, I didn't set it separately in the language, the default is 4, it should be 4.
Of course the active add setting is working, just a quibble
![image](https://private-user-images.githubusercontent.com/19868292/329753846-9cd1f4b9-f286-4bb7-bbce-b4059bbad0f9.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTkxODQ5NjgsIm5iZiI6MTcxOTE4NDY2OCwicGF0aCI6Ii8xOTg2ODI5Mi8zMjk3NTM4NDYtOWNkMWY0YjktZjI4Ni00YmI3LWJiY2UtYjQwNTliYmFkMGY5LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MjMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjIzVDIzMTc0OFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTNlN2UwYjI2YmQ5OTY0M2Y1ZWY5ZDEyNTU4MTMzZjQyYjFlMjQ0MGUzYmMwMWFmMjQ5YzJjZjBhZjhhMDEyODYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.2TuuRD8Z9YwbUXFMWotsEy04nlP9r1Xtu7GDHuzLuLM)
Environment
Zed: v0.135.1 (Zed Preview)
OS: macOS 14.2.1
Memory: 32 GiB
Architecture: aarch64
If applicable, add mockups / screenshots to help explain present your vision of the feature
No response
If applicable, attach your
~/Library/Logs/Zed/Zed.log
file to this issue.No response
The text was updated successfully, but these errors were encountered: