Prevent KDE Kate 3.13 from auto-collapsing folders in Documents pane on File Open? - kde-plasma

I've looked high and low through the settings, but I can't seem to figure out how to prevent KDE Kate 3.13 from auto-collapsing branches in the Documents pane when opening files. This is really annoying to me, since I then have to re-dig in to the collapsed file structures to figure out where the previous file I was working on is located.
Does anyone know where the secret sauce is on this one?
To reproduce this issue:
Have a Kate installation at or around version 3.13
Place the Documents pane in Tree view via Right Click->View Mode->Tree Mode
Open up several documents in different branches via File->Open.
Open up a file in a different branch than the currently exposed branches in the tree view.
Observe that the other branches in the Documents pane auto-collapse.
Workaround While Waiting For Fix:
Enable Console Tool and open Konsole interface (or use a regular Konsole instance)
execute "kate " to open the file without triggering the document collapse.

There is a bug report about it and we also have a possible fix. However, this fix was not yet applied. If all goes well, this is fixed for KDE SC 4.13.3.

Related

How to deal with annoyingly large tabs in IntelliJ IDEA?

Working with some project I'd really like to keep like 8-10 tabs (=files) open at the same time within IntelliJ IDEA as I have to switch between those very often. However the space on the screen is limited especially if the Project Browser and the Remote Host Browser are also open at the same time.
Usually its not that much of a problem but as soon as some remote files are open the labels become very long and therefore the space for tabs decreases even more. Look at the following picture:
A maximum of four tabs at the same time is visible - sometimes only three.
Its not like others have not found very elegant solutions for this - look at the "pinned tabs" feature of google Chrome for instance:
Is there some setting, extension or other possibility how to deal with this problem in IntelliJ? After some research I have only found out that you can switch recent files with Ctrl + E but in my opinion this still is a quite clumsy way to deal with it (especially as it does not work for remote files) 🤕
You can play with Preferences | Editor | General | Editor Tabs settings. For example, if you untick Show tabs in one row, your extra tabs will be placed in several lines. Also you can untick Show file extension and Show directory for non-unique file names options.

How to exit from "Edit as Table" mode in PhpStorm?

When editing a CSV file in PhpStorm, I enabled "Edit as Table" and can not find how to close this mode. I do not know how to close the "Data" tab.
Help me please!
Linux Mint, Phpstorm v.2018.1.6
The "Edit as Table" creates a split pane. Assuming you dont have any other panes open, you can close them all by:
ctrl+shift+a
Search for Unsplit all
Ta-da
While still destructive (if you use multiple panes), it doesnt go full scorched earth policy like #jocull recommends.
I had a similar issue in WebStorm and reached this thread. After painful searching I found these buttons to toggle between views in the bottom left:
I looked all over but couldn't find a way to do this. In the end it was bugging me so much that I just dropped the Jetbrains/IntelliJ project files and recreated them. This is a very heavy hammer for this problem.
If you have a Git repository this is usually as simple as...
Close your project if it is open
git clean -idx and select the project files to remove (carefully, if you have stuff you don't want to clean out! this deletes things!)
Reopen the project and let it regenerate the project files from scratch
Tada! No more table editor mode. You may lose debugging profiles or other project specific settings, and YYMV :)

Force item icon refresh in Finder 10.8.2

Can anyone lead me to any useful link for forcing file icon refresh in new 10.8.2 version of Finder?
I'm working on this problem for last few days and I have tried almost any solution which can
be found on internet, but those are all old samples which are compatible with old versions of Finder and do not work on newer versions of Finder (which are rebuilt on Cocoa framework).
I tried to use few commands from apple script tool to update files in Finder ('update item with necessity'), I tried few plugins from internet (nudge, finder-Refresh...), I also tried support for communication with external Mac application through ScriptingBridge framework (although very useful) but nothing gave me a desired result.
I have noticed that NSWorkspace class contains two methods: iconForFile and setIcon:forFile,
and although I could integrate this two functions in application, iconForFile function is returning image of reduced quality, so I'm stuck in that direction also.
Any idea or suggestion will be highly appreciated.
If you need to update one Application icon, just touch the App.app folder.
Close the finder windows and issue the command:
touch /Applications/App.app
Create a visible file and delete it. This will refresh finder window.
To reset for every application under Mountain Lion, try the following in Terminal:
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -kill -seed -r
That will kill all existing objects in launch services and reseed them recursively from the standard locations (/Applications, etc).
If you have a specific application whose data you need to override existing information, you can try:
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -f <path>
Although I've had limited luck with the latter working in some cases, so you may end up doing the former afterwards.
Type into Terminal
killall Finder
Then
killall Dock
I had this problem too. I had a .app i wanted to change the icon of.
Structure of my .app:
...noida.app/
...noida.app/Contents/
...
...noida.app/Contents/Resources
...noida.app/Contents/Resources/myicon.icns
...noida.app/Contents/MacOS
...
...noida.app/Contents/plist.Info
Now I would change the icon in the resources folder. Then I made new files in all folders. It wouldn't work. The only place that i could make a new file tha twould update the icon was in the ...noida.app/ so i made new file at ...noida.app/junk folder and then it updated.
Very interesting.
I was just fighting with this on 10.10 (although it's been a problem for years now) and the only solution I found to force refreshing a bundles icon in the Finder was to:
Open the "Get Info Window" of the bundle you want to update and select the icon by clicking on it.
Paste another image as the icon (you could have copied this from another file or from any other location with this pasteboard data).
Press return and make sure the icon changed in the Finder.
Delete the icon by pressing the delete key.
After that the bundles icon was refreshed to the new .icns file in the bundles resource folder.

Save Aptana Studio 3 project explorer state on close

I'm sure there is a simple option for this but I have as yet been unable to find it. Every time I close and reopen Aptana Studio 3 it collapses all the folders in the project explorer and I have to reopen them all, is there a way to get it to leave them open and save the project explorer's state when I close the program?
Thanks.
I cannot find any way to keep the state of the Project Explorer. However, using the App Explorer, the state of your open folder will be preserved. You can also try the "Navigator" which looks just like the Project Explorer, but appears to keep state. I will add the proviso to that: It kept state when I restarted aptana, but it also developed a GUI glitch where it appears to be scrolled to the right so I only see the right half of all of my file names and I cannot fix it, so this may not be a good option if you get the same glitch.
There is also a method which does not do quite what you ask, but may be a good fix for you anyway. If you click "Link with Editor" picture (two yellow arrows) in the Project Editor, it will automatically expand your project hierarchy to match whichever open file you have active. Since your files stay open when you close Aptana, this would keep the Project Explorer expanded to whatever you are looking at even on restart. See this question
You can also set up working sets for various parts of your code that are buried in the hierarchy and use the Project Explorer to show those working sets instead of you projects. This does not save state, but it does give you easy access to common parts of your code that may be deeply buried.
Hope one of these helps you.

Why does a deleted file reappear in Vista?

I have an automated test running on my program that generates some large MPG files along with other files. After running the test, I have the script clean up after itself. The other files (a mix of binary and text files) are removed with no problems. The MPG files, however, don't get deleted. If I try and manually delete the MPG files from explorer after the test has run, they are removed from the explorer window only to reappear a few seconds later. Process explorer shows that they are being used by explorer.exe. Eventually, I am able to remove these files. Any idea why this is happening?
Is it possible that Explorer is holding onto the files to generate thumbs.db and perform its other work? I ask that because I've noticed considerable lag as Explorer evaluates every movie file in my media directories, even when in Details view. (You can tell, because the address bar of that Explorer window will become a progress bar, slowly -- ever so slowly on my box at home -- turning green.)
Is this behavior still exhibited if no Explorer windows are open to the appropriate directory?
It sounds like something is still hanging on to a reference to the file. Is it possilbe that you have shadow copy set up and it is trying to archive the file?