NbScratchFile - plugin detail

Create files without having a project.

NetBeans Plugin - NbScratchFile
Plugin owner: ChrisLE
Website: https://github.com/Chris2011/NbScratchFile
Added: 2015-04-22
License: MIT License
Category: Utilities
Downloaded: 1,157 times
 4.46, by 1 users

Plugin Log Show log

Versions available

Download plugin   Download size: 5.39 MB   Last Update: 2017-11-21

What's new in this version

RELEASE: 1.7.1

  • Converted Project from Ant to Maven - #6
  • Built UI directly from maven - #7
  • Choose Language on Enter - #10
  • Added TravisCI config file - #11

RELEASE: 1.6.0

  • Fixed improper action id - #5
  • Get colors from NetBeans LaF to set the UI to light or dark - #9


  • Fixed NPE - #4
  • Added folders and scratch files to the Service window to open the saved scratch files from the IDE


  • Fixed blank dialog bug
  • Added the UI to the module


  • Created a list of supported languages
  • Choose the language with the mouse and it will open and save the scratch
  • Scratches can be found in "YourHomeDirectory/.netbeans/scratches"

Verifications for NetBeans versions

8.2 verification PENDING See verification details
Download plugin   Download size: 0.01 MB   Last Update: 2016-01-03

This plugin is also available on the NetBeans Plugin Portal Update Center. Use 'Tools > Plugins' action from the NetBeans IDE main menu for convenient installation of this plugin

What's new in this version

  • Refacored code
  • Signed plugin

Verifications for NetBeans versions

8.1 verification PASSED See verification details
Download plugin   Download size: 0.01 MB   Last Update: 2015-04-22

What's new in this version

Create simple files without having a project with Ctrl + Alt + Shift + N. Save via file -> Save as... Next: - Sign the plugin to get it via plugin manager - Find a nice Icon (Nice to have) - Save file via normal shortcut Ctrl + S (Save as for the first time with popup, afterwards only save)

Verifications for NetBeans versions

Plugin is not subject to any verification


With this plugin you can create scratch files which will be saved on disk. You don't need a project for this. After typing Ctrl + Alt + Shift + N you can choose a language and the file will be saved to your user dir: /userDir/.netbeans/scratches

[ You have to be logged in to be able to comment. ]

User Comments


No special reason

The only reason was that I removed all old packages and installed the new Java 8 on my machine. So no there was no special reason to create it with Java 8. If you think that this will be an enhancement, please create a bug ticket at the github repo. Thx :)
Posted by ChrisLE on Feb 24, 2016

Java 8 requirement

Any specific reason Java 8 is required?
In some corporate environments 7 is still the only option.
Posted by scuro on Feb 22, 2016

"Save All" should be disabled before first "Save As..."

If I create a new file in memory and edit its content, I can "File > Save All" even though nothing is actually saved.
Posted by jkovalsky on Jan 08, 2016

For save as please do a shortcut...

Unfortunately it is not possible to have 2 different functionalities for the normal save logic. So that means, that you have to add a shortcut to "Save As" (for me Ctrl + Alt + S; Ctrl + Alt + S) and then you can save the file whereever you want and change the name and extension.
Posted by ChrisLE on Jan 03, 2016
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo