Releases: Akuli/porcupine
Releases · Akuli/porcupine
v0.99.2
Directory tree:
- When a file has been renamed, it is now selected. Previously you would have to click the file after renaming it if you wanted to open it, for example. Thank you rdbende for fixing this.
- You can now make a new file by right-clicking the directory tree. Thank you rdbende.
- Deleting an empty directory no longer asks you to confirm whether you surely want to delete it. Previously it would show a dialog that confusingly said "Do you want to permanently delete
foo
and everything inside it?", even if there was nothing inside the directory.
Running commands:
- If Porcupine is installed into a virtualenv, that no longer affects running commands. Previously Python would often fail to find libraries installed with
pip
. - Output displayed in the Porcupine window now shows CRLF line endings (aka
\r\n
) correctly on all platforms. Previously it worked only on Windows, and on other systems, it showed a weird box at the end of the previous line.
Other improvements:
- Porcupine no longer prints weird things to the terminal when it is closed on Python 3.9. I haven't checked what other Python versions this affects.
- The X button that closes a tab is now white on dark themes, so it is easier to see. Thank you rdbende.
- The status bar now shows the number of words selected.
- URLs in code are now opened with Ctrl+Click or Ctrl+Enter (Command+Click or Command+Enter on MacOS). They previously used Alt+Shift instead of Ctrl, which was unnecessarily confusing. Thank you 1anakin20.
- Page up and down keys now work in the autocompletion list. Thank you rdbende.
v0.99.1
Directory tree:
- Right-clicking a file or folder gives a menu with a few Git-related items in it. They now work. Previously they were sometimes disabled (grayed out) when they weren't supposed to be, and most of the time they didn't actually do anything when clicked. Thank you rdbende for reporting this and helping me fix it.
- Empty folders are now refreshed correctly when they become non-empty. Previously empty folders would remain empty-looking even after creating files inside them, unless you closed and reopened the folder. Thank you nicolafan.
- On MacOS, control+click now does the same thing as right-click. Thank you 1anakin20.
Running commands:
- "Repeat previous command" is now clever enough to not repeat commands from the wrong filetype. Previously it would happily run Python commands in C files.
- When the output is displayed in the Porcupine window, it now stays scrolled to the bottom as more output appears.
- File names and line numbers are now clickable in some cases that previously didn't work, such as
pytest
error messages. - Pressing F5 in a HTML file will now open it in a web browser.
Other improvements:
- Entries in the find area (Ctrl+F) now stretch as you make the Porcupine window wider. This should make replacing long pieces of code easier. Thank you rdbende.
- The setting dialog is now tall enough to show all of its content by default, regardless of what Ttk theme you use. Thank you rdbende for noticing and fixing this.
- Tooltips that appear when hovering code now have a similar background as the area itself, so if you use a dark theme, the tooltips will also have a dark background. Previously the colors would be opposite. Thank you rdbende.
- There is now automatic indenting when editing HTML files. Thank you rdbende.
Very small fixes:
- The plugin manager now shows a more meaningful description when the run plugin is selected.
- In a
switch
statement (e.g. C, C++, Java), you can press Alt+Enter instead of Enter to avoid automatic indentation when combining multiplecase foo:
statements. Alt+Enter is now mentioned in Porcupine's default_filetypes.toml. Thank you Tawishi.
v0.99.0
I'm excited about this release. It has lots of awesome improvements, and several people have contributed to it. Thanks to all contributors!
New features:
- The run plugin has been rewritten. If you previously used it only for running Python code in a terminal by pressing F5, that will still work, although it can do a lot more. Press Shift+F5 to get started. My favorite feature is running commands so that their output goes to the Porcupine window, and things like
File "foo.py", line 52
become clickable links. - Files in the directory tree can now be cut/pasted and copy/pasted by right-clicking them or with Ctrl+C and Ctrl+V. Thank you nicolafan.
- The right-click menu of the directory tree now contains
git add
and a couple other Git operations. - There is a new button "Jump to definition" in the Edit menu. For example, if you have a method call like
foo.bar()
in a Python program and you put the cursor on top ofbar
, this will take you to the line of code that looks likedef bar(self, ...
. The functionality itself isn't new, but it is now in the menubar, so it's easier to discover.
Bug fixes:
- Right-clicking and middle-clicking now works on MacOS. Thank you 1anakin20 for fixing this.
- The Windows installer now shows a very clear error message if you try to run it on a 32-bit Windows. Previously it would extract some files and then fail without a good error message. Thank you Mannuel25 for noticing this.
- When right-clicking a folder in the directory tree, one of the menu items is "Open in file manager". It now works on Windows.
- When uninstalling on Windows, Porcupine no longer deletes the whole directory chosen when installing it with the Windows installer. This means that the uninstaller will behave sanely even if you accidentally install Porcupine directly into
C:\Program Files
as opposed to e.g.C:\Program Files\Porcupine
. You don't have to worry about this if you didn't choose a custom directory when installing Porcupine. - Porcupine no longer kills
git status
if it runs for more than 2 seconds. This hopefully prevents errors where Git complains about a lock file (issue #885). Porcupine runsgit status
internally to figure out how to color files in the directory tree, e.g. green forgit add
ed.
Other improvements:
- Porcupine now uses a dark theme by default, although you won't notice it if you have chosen a custom theme. To change the theme, there is a new button in the Porcupine Settings dialog (in Edit menu), and the old Syntax Colors menu has been removed.
- Many small UI details have been improved. For example, many buttons are now wider than before, so it's easier to click them. Thank you rdbende.
- You can now uncheck Python virtualenvs after right-clicking them in the directory tree. This means that you can choose to not use a virtualenv even if the project has one. This is useful if something isn't working, and you suspect there might be something wrong with the virtualenv.
- On Windows, Python virtualenvs now show up as selected immediately after selecting them in the directory tree.
- Files whose name starts with a dot are now grouped after other files in the directory tree. Previously they were first, which is annoying, as these files are by convention hidden and usually you want to ignore them. Thank you nicolafan for fixing this.
- Porcupine no longer comes with
pycodestyle
, so you should get less yellow underlines when editing Python files. Nowadays many Python projects useblack
, so enforcingpycodestyle
's coding style doesn't make sense. - You now get a warning if you try to open a huge file. Previously Porcupine would open it without checking the size, and in the worst possible case, freeze the whole computer. Thank you rdbende for fixing this.
- A few smaller improvements and fixes that I don't expect most users to notice.
v0.98.2
v0.98.1
Version v0.98.1
v0.98.0
New features:
- From now on, the relevant parts of this changelog should appear on the releases page on GitHub.
- Several new features in the directory tree:
- The directory tree now acts as more of a file manager than before.
You can right-click files and folders to e.g. rename or delete them. - You can now type a character to navigate.
For example, pressing thea
key cycles through all files in the selected directory
whose name starts witha
. - Right-clicking a project now offers you an option to hide it from the directory tree.
It will appear again when you open a file inside the project.
- The directory tree now acts as more of a file manager than before.
Bug fixes:
- Syntax highlighting now works in code blocks of Markdown files.
Previously they would sometimes display weirdly depending on scrolling.
Thank you rdbende for reporting this. - Porcupine no longer segfaults on systems with the Noto Color Emoji font installed,
regardless of what version of Tcl/Tk it uses.
Thank you Tuomas for fixing this. - Some menu items, such as most items in the Edit menu,
are now grayed out when there are no open tabs
or the currently selected tab is not a regular tab for editing text files.
Previously they would appear clickable,
but clicking them would do nothing visible and cause an error to be logged. - Remembering the opened tabs when restarting now works
regardless of what is configured infiletypes.toml
.
Other changes:
- The Windows installer is slightly smaller than before, 19.2MB instead of 22.7MB.
- The tetris plugin was deleted.
It was never included by default,
and it will likely continue to work for a few releases
if you installed it manually frommore_plugins/
.
Use Arrinao's tetris project
if you want to play tetris. - Porcupine now uses a different library for parsing
filetypes.toml
anddefault_filetypes.toml
.
If you have customized yourfiletypes.toml
and you get errors when starting Porcupine,
you may need to switch to slightly different syntax.
Seedefault_filetypes.toml
for examples of what works
(there is a link to it in your user-specificfiletypes.toml
).
There are also other small improvements.
v0.97.0
Version v0.97.0
v0.96.0
Version v0.96.0
v0.95.0
Version v0.95.0
v0.94.3
Version v0.94.3