Change default extension of scratch buffers

Answered

Hi,

If I create a new scratch buffer, IntelliJ creates a buffer named bufferX.tpl (X rotates between 1 and 5). How can I change it to use the “txt” extension instead of “tpl”?

Thanks,

Julien

0
3 comments
What version of IDE are you using? In Intellij IDEA 2024.2.4, when triggering creating "New Scratch Buffer" from "double shift" search, the created file is bufferx.txt by default.
0

I too am using version 2024.2.4.  When I first started using buffers a few days ago the extension was “.in”, and then somehow they started using “.tpl”.  I'm not sure what's going on, and why it's not using “.txt” as it is for you and as mentioned in the documentation (https://www.jetbrains.com/help/idea/scratches.html#create-scratch-buffer).

Any idea what could be causing this? I'm assuming this must be controlled somewhere in the settings but I can't find where/how.

0
For issue isolation purpose, is it reproducible when all custom plugins are disabled via "Settings | Plugins | ⚙ | Disable all downloaded plugins"?

If yes, please share the zipped log folder(Help | Collect Logs and Diagnostic Data) here or in a new YouTrack ticket(https://youtrack.jetbrains.com/newIssue) with us for further troubleshooting.
0

Please sign in to leave a comment.