Stop Spyder opening last used scripts - spyder

If you close Spyder while scripts are open in the Editor pane, these same scripts will be loaded next time Spyder is started. Is there any way to disable this feature?

(Spyder maintainer here) No, there is no way to prevent Spyder from opening again the files you left open before closing it.

Related

how to disable the help information when we hover the cursor on a variable/function in spyder [duplicate]

not sure where to ask:
is there a way to not have the help tooltip/popup/hover window opening in spyder?
since updating to 4.0 the window does not close when you change between windows:
guess something like this will be reported and delt with in future updates but for now i would be happy to just disable it
(using 64-bit windows-10 machine)
(Spyder maintainer here) Yes, there is. You need to go to the menu
Tools > Preferences > Completion and linting > Introspection
and deactivate the option called Enable hover hints.
Note: The issue you posted above with the hover not hiding when giving focus to other applications will be fixed in our next bugfix version (4.1), to be released in a couple of months.

How to disable automatic function docstring generation in Spyder?

Spyder (the Python IDE) generates a function docstring automatically when you click Enter after the first line of the function def. How can one disable this feature?
I've looked around in Tools (for instance in Tools -> Preferences -> Editor) and did not find a way to do it. But there are tons of features in Spyder so maybe I'm missing it.
Are you using an anaconda install with kited running in the background? Opening task manager and stopping this from running fixed the problem for me.
Edit: This may be incorrect
When you type in the triple quotes, an icon will pop up that says Generate docstring. When this happens, do not hit Enter. Just hit esc.
Until we can just deactivate it in settings, that's what I've been doing.

I can't choose to open with Java 8. It goes to Internet Explorer and I get stuck in a loop. What do I do?

I have installed Java 8 JDK and JRE, and when I type javac into cmd, everything seems fine. However, when I download a .jar, for example Optifine, I have no option to open with Java. The icon of the .jar is Internet Explorer. When I double-click on the Optifine .jar, I am brought to a "View and track your downloads" window, where I then get stuck in a "Save" and "Open" loop. What can I do to actually see Java as an option to open with? Sidenote: if anyone does reply, please use simpler coding language, as my knowledge only comes from hours of research on how to fix this problem.
I don't know which version of Windows you are using so I can provide detailed step by step guide. .jar files can be opened with Java and compression/decompression utilities. In general, you can change the default programs in control panel and associate .jar file with a specific program you want.
Note: As an irrelevant point in order to use Optifine.jar for Minecraft modding you do not need to open it.

Force Open Lua Console or Run Lua Console Automatically on Startup

I'm new to Wireshark & Lua and I have a question that I can't seem to find the answer to by reading around online
Is there a way to open the Wireshark Lua console window on start up? Or even automatically open dialogs created by listeners on start up? I was hoping there were some commands or capability that would allow me to open (not just create) dialogs from within a script.
I've read about the exploit for the console in versions 1.6 and earlier, but I'm running 1.6.8 and I'd rather not use something that could potentially cause Wireshark to be unstable.
Modify the bottom of C:\Program Files\Wireshark\console.lua. Before the final "end", add:
run_console()
You can find an advanced option in the preferences dialog:
Open Preferences from the Edit menu
Navigate to Advanced
Filter for console
Change the value for gui.console_open to ALWAYS

Launch an application using Advanced Installer

I have developed an installer using Advanced Installer.I have a GUI which is a .exe file which I want to launch after the execution completes.
I tried adding the .exe to post installation but the .exe is launched midway when the installation has not finished and when I close the GUI button the installation completes.
I want that when the installation is complete,the GUI(.exe) file should be launched
I also want that on the click of launch application button at the end of the installation should launch the GUI
When I click the launch application button it opens the folder SYSWOW64
I found few solutions to this,I tried all of them but nothing seems to be working for me at the moment.
Thanks,
Regards
It's going to be a custom action, right? So if it runs too early, why can't you just sequence it later, maybe after InstallFinalize.
Do you need a button to say launch it? Why not just run it?
You have multiple options to launch the application at the end of the installation using Advanced Installer. The article I linked explains all of them.

Resources