简体   繁体   中英

Python Syntax Highlighting in Notepad++

I know Notepad++ supports Python but under the language menu I cannot find it! At "P," it only lists Pascal, Perl, PHP, Postscript, PowerShell, and strangely, Properties. I am writing some Python scripts and I want the syntax to be highlighted. How can I activate Python highlighting?

Maybe it's disabled. Check in Preferences | Language Menu/Tab Settings if it's not among the disabled items.

Weird. I have Notepad++ v6.3 on this PC and it is there:

在此输入图像描述

Try to uninstall and reinstall Notepad++. Be sure to get the latest version from SourceForge -

http://sourceforge.net/projects/notepad-plus/

尝试卸载并安装新版本的Notepad ++表单

Please make sure it is not disabled. I happens to me too.

To check go to preferences, click on language items in the left and make sure that python is not in disabled languages. Reboot notepad++ after applying changes.

On mine, notepad++ v7.5.8, Python is not in the P section but it is in the bottom of languages menu.

看看照片。

This is the default arrangement for my version of notepad++ so all bets are off if you changed it under settings.

是的,python位于语言列表的底部(不在P项目下 - 我相信在我使用“设置”后它已移出P)。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM