将标签转换为Notepad ++中的空格 [英] Convert tabs to spaces in Notepad++

查看:300
本文介绍了将标签转换为Notepad ++中的空格的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何将标签转换为记事本++中的空格?



我找到网页,表明这是可能的,但我找不到任何有关如何做的信息。



我想能够这样做,因为一些网络表单不尊重带有标签的代码。

解决方案

要将现有选项卡转换为空格,请按编辑 - >空白操作 - > TAB到空格 p>

如果将来当您按Tab键时要输入空格而不是制表符:


  1. 转到设置 - >首选项...->语言(自版本7.1起)或设置 - >首选项... - >标签设置(以前的版本)

  2. 检查以空格替换

  3. 可选)通过更改制表符大小字段,可以设置要用于替换制表符的空格数量。 / li>


How do I convert tabs to spaces in Notepad++?

I found a webpage that suggests it's possible, but I couldn't find any information about how to do it.

I would like to be able to do that, because some web forms don't respect code with tabs in them.

解决方案

To convert existing tabs to spaces, press Edit->Blank Operations->TAB to Space.

If in the future you want to enter spaces instead of tab when you press tab key:

  1. Go to Settings->Preferences...->Language (since version 7.1) or Settings->Preferences...->Tab Settings (previous versions)
  2. Check Replace by space
  3. (Optional) You can set the number of spaces to use in place of a Tab by changing the Tab size field.

这篇关于将标签转换为Notepad ++中的空格的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆