opening Sublime Text 3 opens sidebar by default - sidebar

I usually use Sublime Text 3 with the sidebar toggled off but every time I reopen Sublime, I see for a second that the sidebar is not there but then it opens up.
What code can I place in my User Settings that will make the side bare remain hidden?
UPDATE 1
My installed packages are:
Advanced New File
Autoprefixer
Emmet
HTML5
Jade
Jade Snippets
Jquery Mobile 1.4 snippets
Jquery Snippets pack
Mongomapper Snippets
Package Control
PyV8
Sass
Sass Snippets
SFTP
Sidebar Enhancements
Stylus
Sublime linter contribe jslint
Theme Flatland
I'm thinking the culprit could be either Sidebar Enhancements or Theme Flatland. I should also mention that when I open Sublime Text 3 I am opening it as a Sublime project. Not sure if that could be forcing the sidebar to open. This is what is in my projectName.sublime-project file:
{
"folders":
[
{
"follow_symlinks": true,
"path": "."
}
]
}
UPDATE 2
I just closed my current Sublime project and opened up a single file, edited it, closed the sidebar, saved the file and closed Sublime. Upon reopening Sublime, the sidebar was closed. Now I am pretty sure the culprit is the fact that I am opening a Sublime project. There is some Sublime project code or setting that is force opening the sidebar upon launching Sublime in project mode but I've no idea where that could be located.

Related

Eclipse shows no content assist context menu (popup box) for HTML files but works fine for Java files

I use Eclipse 2022-12 with Windows 10 for a Spring Boot project with Maven.
The context menu (the popup box that automatically shows up when you type or press Strg+Space) for autocompletion (java template proposals / content assist) in the editor shows up perfectly fine in Java files (strg + space works too).
I have HTML files that open with the HTML-editor in Eclipse, and the syntax highlighting is fine. But the context menu for code suggestions (auto completion suggestion or html template proposals) simply does not show up, not even with strg+space.
How can I enable the popup for the auto suggestions in HTML files again?
For clarification: It does not show the context menu box at all. Other users had problems where there were no suggestions (template proposals) inside the context menu, but for me the popup does not show up at all for HTML files, but for Java files it works completely fine.
I already tried to change the settings for the html editor under Window > Preferences > Web > HTML Files > Editor > Content Assist. Settings:
"Automatically make suggestions" - activated
"Auto activation delay" - 0
"Prompt when these characters are inserted" - "=<"
The categories for HTML Tag proposals and all the other elements are all activated in booth "Default Proposal Categories" and "Content Assist Pages".
I also de- and reinstalled Eclipse Web Developer Tools and HTML Editor in the Marketplace.
I also opened a new dynamic web project without Maven or Spring Boot, here the HTML editor also does not show the content assist context menu.
I also created a new Workspace, same result.
Edit
I found a workaround...but this does not answer my question, because I think it is not correct that Eclipse does not show me the popup-box inside the HTML-Editor.
Eclipse automaticaly activated the HTML-Editor for HTML-Files, which does not have the popup-box. I activated the Generic Text Editor, which actually shows me the popup-box with HTML-suggestions. I would be happy if someone has a hint why the HTML-Editor is broken in Eclipse 2022-12.
Go to settings
Window
⮑ Preferences
⮑ HTML Files
⮑ Editor
⮑ Content Assist
Then replace <= with;
abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ._<=

possible to use gulp-livereload to refresh the page on just a change, no save?

Is it possible to use the node package gulp-livereload to refresh the page on just a change, without pressing command+s to save the file you are editing?
Currently it is not possible (not only gulp-livereload, but all livereload plugins). From the official site:
LiveReload monitors changes in the file system. As soon as you save a file, it is preprocessed as needed, and the browser is refreshed.
However, there is a plugin for Sublime Text and Chrome that offers CSS live editing, Emmet Livestyle

How can I modify User Preferences in Sublime Text 2 via a Build System?

What I want
How can I 'build' an HTML file so that it opens in my browser and Sublime Text 2 does not display a build panel?
More generally, how can I interact with Sublime Text 2 settings from my .sublime-build files?
I'm on Mac OS X/Chrome 32.0.1700.102.
I'd like to suppress the build panel in Sublime Text 2 (ST2) on a per-build-system basis. If necessary, I'd be OK suppressing depending on the syntax of the open window. Basically, I want to be able to open an HTML file I'm editing in my browser without seeing the [Finished in 0.01s] output at the bottom of the screen. An analogous question has been asked on superuser.
The setting to change is show_panel_on_build and my HTML.sublime-build is simply
{
"cmd": ["open", "$file"]
}
What I've tried
When I add "show_panel_on_build": false to HTML.sublime-build my builds hang and do not complete (and the panel shows up!).
I also tried installing Better Build System, but then my build stopped working entirely. I did not investigate the issue in detail.
Obviously, I could so something silly like write a script which modifies my User Preferences file outside of ST2, but I'm hoping for a more elegant solution.
Any thoughts (or pointers to appropriate plugins) appreciated. Thanks!

Sublime text 2: class navigator or browser side bar

Is there a plug-in (or setting) in sublime2 that shows a side pane with a navigator (or tree view) for the class in an active file? Someting similar to the class navigator in netbeans?
Use the CTRL+R command to browser the symbols on the current file, and CTRL+SHIFT+R (only available in Sublime Text 3) to browse symbols in all file opened in tabs.
I think CTags is a nice candidate too.
It uses the ctags executable to index all your project files and allow you to browse through symbols in your whole project. Quite impressive.
Using Sublime2, the CMD+R is the 'Goto Symbol' option on the 'Goto' menu. You may have remapped it. Whilst it isn't a permanent onscreen navigator (like NetBeans for example), it is pretty quick to use.
CMD+R and SHIFT+CMD+R are available on Sublime Text 3 for Mac. CMD+R will browse symbols on the current open file as stated before here, while SHIFT+CMD+R will browse all symbols in all open files if you don't have a ST3 project open, or browse all symbols in all project files if a project is open.
You have to vote here in order to see this functionality implemented in SublimeText :
http://sublimetext.userecho.com/topics/1265-add-a-class-browser/
In the meantime, CTRL+R is the only alternative...

Is there a way to export code to HTML in Eclipse?

I know NetBeans has this feature, but I can't find it in Eclipse. A quick search for plugins was not successful.
Java2Html - Eclipse Plugin:
Convert files:
Select items in the Package Explorer, Navigator or other views and right click to open the context menu. There is a Java2Html menu item that opens the conversion dialog.
Convert text from a text editor:
Right click on an editor and choose the Java2Html context menu item to convert the current selected text.
Adjust preferences:
Colors, tab size, etc. for conversion can be adjusted on the preference pages (Menu "Window" - "Preferences" - "Java" - "Java2Html")...
Hackish way:
On Windows at least, when you do Ctrl-A (Select all), Ctrl+C (Copy) what actually gets copied to the clipboard is formatted text (with all the colors and fonts). Then you can paste (Ctrl-V) it to something that can accept formatted text, say Microsoft Word or even Wordpad and save it to whatever format you wish.
The Copy as HTML eclipse IDE plugin allows us to directly copy our
code as HTML and paste it to our blogs or forums without any
formatting.
Download Copy as HTML eclipse plugin
Steps to install the plugin:
Download the Copy as HTML eclipse plugin
Copy it to the 'dropins' folder of your eclipse installation
If 'dropins' folder is not present then copy it to the 'plugins' folder of your eclipse installation
Restart eclipse IDE
That's it
Steps to Use
Select the code or text to be copied
Select 'Copy as HTML' option or press 'cntrl+shift+3'
Paste it your superb blog
Taken from here:
http://java-sample-program.blogspot.hu/2012/12/copy-as-html-eclipse-plugin.html