How to disable the "Save As..." option in QGIS - qgis

I would like to ask, how can I disable or hide the "Save As..." setting from QGIS3? I want user to only use the Save To.. setting, where they can save the project into postgreSQL or GeoPackage, I don't want them to save the project in their local folder. Is there anyway to do it?

Related

Netbeans IDE scaling too small

The Netbeans IDE menu icons(new project, open project, etc) are all extremely small. Any pop-up menus that open while I am working start with very small dimensions, forcing me to expand them so I can see what I am doing.
How do I increase these sizes?
I looked up a solution that involved editing the netbeans.conf file, but if I tried to save the edits, the computer said I needed admin permission(I am an admin in the computer).
What can I do to resolve this?
To edit netbeans.conf you text editor must be running in administrative mode. In order to put it in administrator mode follow these steps.
1.) Use the windows search bar and search for the text editor you want to use.
2.) right click on it and then click on "Run as administrator"
3.) use your text editor to open the netbeans.conf
Now you should be able to edit it.

Sourcetree - open javascript file

I try to open a javascript file from sourcetree, but it tries to execute it instead of opening the script in my editor:
Is there a way to change this behaviour?
I found a workaround. Create a javascript dummy file somewhere, then right click and select "open with..." and select your favorite editor. Then click on the checkbox so that program is always going to be used.

Eclipse - Can't View or Open Java files in Package Explorer to Editor

I clicked something or accidentally drug a file that was open in the editor and now it is no longer displayed.
If I double click on the file in Package Explorer it doesn't show in the editor like it used to. I have looked all over and can't figure out how to get this file back in the editor.
I thought clicking File - Open File would do it but that displays an open file dialog.
Another way to simulate this is to put the cursor in the editor for an open file and select File - Close. This closes the file but then if you double click on the file in the Package Explorer it doesn't open it in the editor anymore. How do I get these files to display in the editor again?
I also tried right clicking on the file and selecting "Open". This does not display in editor either.
I also tried right clicking and selecting "Open With Java Editor". This does not work either.
If I clicke "File" and then the name of the file in the MRU list . This does not work either.
Also, double clicking a file in Package Explorer fails to open any file. The file shows in the File MRU list but does not display in editor. Can not figure this out.
Also, if I select "Back to" or "Forward to" arrows on toolbar, it tracks the file in the Package Explorer by highlighting it but the file does not display in an editor like it used to.
Also, I have tried "File Open" browsing to the physical location and selecting it but that does not display in the editor either.
I had to open a new window (Window - New Window) and then Reset Perspective (Window - Reset Perspective) to get the editor back. Not sure why but I lost some of my perspective settings doing this.
In Package Explorer, instead of double-clicking on the file, try to right-click it and you should get several "Open with..." options; choose the one that matches the editor in which you want the file to open.
Your choice will also be saved as the default, so the next times you can just double-click and it will open in that same editor.
If you are customizing the perspective, then saving perspective could be a safer option to avoid such glitches.
PFB the link on how to save a perspective:
http://help.eclipse.org/mars/index.jsp?topic=%2Forg.eclipse.platform.doc.user%2FgettingStarted%2Fqs-43e.htm

Eclipse: Save files without asking when I click run

Is there a way to save files without asking in Eclipse? Every time I click Run, it asks me if I want to save the file, and I always do.
Preferences > Run/Debug > Launching.
There's a setting called "Save required dirty editors before launching". Set it to "Always".
There should be a check box on that Save File dialog:
Or you can choose the option in Window->Preferences->General->Workspace and check the option called "Save automatically before build". This would make your life definitely easier
You can select the Automatically save resources checkbox the next time it prompts but I believe that's a per project setting.

Is there a way to create an action in eclipse to export my jar to a certain directory?

Is there someone to configure a one click or one key action to export my build product to a certain directory? I'm coming from Visual Studio where I can set the output directory and press F6 to do this.
You can right click on project. Export... Then click on Java/Jar file and next. You will se something like this. Specify output filename, and on the next screen click on save description ( see pictures below ). Then after you saved jardesc to the project root, right click and "Create JAR" command. Two click, not one (if you check overwrite in first screen). If you want to automate with a shortcut, try the plugin in this answer.