Notepad ++显示所有隐藏的字符吗? [英] Does Notepad++ show all hidden characters?

查看:1261
本文介绍了Notepad ++显示所有隐藏的字符吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Notepad ++中,我设置了用2个空格替换选项卡。

In Notepad++ I have set "replace tab with 2 spaces".

在Python中编码时,我从网上复制粘贴了一些代码,它显示缩进正确。但运行代码会导致缩进错误,最后我通过删除行开头的所有可见空格并再次插入相同数量的空格来解决这个问题。

When coding in Python I copy-pasted some code from the web and it appeared indented correctly. But running the code resulted in indentation errors, which I solved in the end by removing all "visible" spaces at line beginnings and inserting the same amount of spaces again.

可能基于Notepad ++的 Scintilla 可能不会显示所有特殊字符,但会显示它们作为空间?有没有设置来解决这个问题?

Could it be possible that Scintilla based Notepad++ does not show all special characters, but displays them as spaces? Is there a setting to fix this?

推荐答案

是的,确实如此。启用此功能的方法取决于您的Notepad ++版本。在较新的版本中,您可以使用:

Yes, it does. The way to enable this depends on your version of Notepad++. On newer versions you can use:

菜单查看显示符号→*显示所有字符`

Menu ViewShow Symbol → *Show All Characters`

菜单查看显示符号显示空格和TAB

(感谢bers'的评论和bkaid对这些更新位置的回答。)

(Thanks to bers' comment and bkaid's answers below for these updated locations.)

在旧版本中,您可以查找:

On older versions you can look for:

菜单查看显示所有字符

菜单查看显示空格和TAB

这篇关于Notepad ++显示所有隐藏的字符吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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