简体   繁体   English

phpStorm,当我按下选项卡按钮时,我看到空格

[英]PhpStorm when I hit the tab button I see spaces

I just installed PhpStorm, looks great. 我刚刚安装了PhpStorm,看起来很棒。

There is one thing that bothers me a lot -- when I hit the tab button I see a bunch of spaces. 有一件事情让我很困扰-当我按下选项卡按钮时,我看到了一堆空格。 When I hit shift+tab I can undo it, but when I tab and I hit the backspace I need to hit it a few times. 当我按下shift + tab时,我可以撤消它,但是当我按下Tab键并按下退格键时,我需要点击几次。

We work as a team and we decided to use tabs instead of spaces. 我们作为一个团队工作,我们决定使用制表符代替空格。

Is it possible that when I hit the Tab button that I actually see a tab and not a bunch of spaces? 当我按下“ Tab”按钮时,是否实际上可以看到一个选项卡而不是一堆空格?

I really hope that this is possible. 我真的希望这是可能的。

Nevermind I found it if you are in a project: close the project: menu file -> close project in the welcomescreen choose configure -> settings 没关系,如果您在项目中,我会找到它:关闭项目:菜单文件->在欢迎屏幕中关闭项目,选择配置->设置

in template project settings menu codestyle choose use tab character and choose all other programingstyles and check the "use tab character" done 在模板项目设置菜单的代码样式中,选择“使用制表符”,然后选择所有其他编程样式,然后选中“使用制表符”

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 当我在 Visual Studio 2010 中使用标签时,我不想要空格 - I don't want spaces when I tab in visual studio 2010 单击“显示标签栏”时没有加号按钮 - There is no plus button when I click "show tab bar" 为什么Python将标签视为8个空格? - Why does Python see a tab as 8 spaces? 在Ruby中,如何分割两个或多个空格或制表符? - In Ruby, how do I split on two or more spaces or a tab? 我想使用 JavaScript 到 select 输入,当我将选项卡聚焦在按钮元素上并按“Enter”时。 - I want to use JavaScript to select an input when I'm tab focused on a button element and press “Enter.” 选项卡上的SupportMapFragment。 我只能看一次 - SupportMapFragment on a tab. I can only see once 滑动标签不起作用,我在屏幕上看不到 - Swipe Tab doesn't work, i don't see that on the screen 当全局配置使用空格时,在IntelliJ / PhpStorm中的Makefile中写选项卡? - Write tabs in Makefile in IntelliJ/PhpStorm when configured globally to use spaces? 当我尝试将我的自定义应用程序添加到 Micrsoft TEAMS 频道中作为新 TAB 时,保存按钮未显示 - Save Button not showing up when i try to add my custom app in Micrsoft TEAMS channel as a new TAB 当我按按钮转到“滑动选项卡”菜单时,Android应用程序崩溃 - Android app crash when I press button to go to Swipe Tab menu
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM