[sublime text] 如果运行成功,不要显示 [Finished in 98ms]
To actually kill it, you have to override the default build execution script. Here is the real way to do it:
The "Deep Dive" Fix
-
Install "Package Resource Viewer":
-
Press
Ctrl+Shift+P(orCmd+Shift+P). -
Type
Install Packageand hit Enter. -
Search for PackageResourceViewer and install it.
-
-
Open the Build Script:
-
Press
Ctrl+Shift+Pagain. -
Type
PackageResourceViewer: Open Resource. -
Select Default.
-
Select exec.py.
-
-
Edit the Code:
-
Find the line (usually around line 450-460) that looks like this:
Pythonself.write("[Finished in %s]" % elapsed_str) -
Comment it out by adding a
#at the start, or just change it to an empty string:Python把此行注释掉,重新添加一行,输入pass
-
-
Save and Close:
-
Save the file. Sublime will now use this "override" version of the execution script, and that footer will be gone forever.
-

浙公网安备 33010602011771号