I use IntelliJ from JetBrains. Amongst other things I manage my kubernetes-yml files with it. For that I installed the Kubernetes-Plugin which adds a lot of really useful features but what annoys me a lot is that it also adds a small bar above all files that were detected by it as kubernetes-yml files which offers to apply or delete this file in the cluster.
Since I mostly use kustomize, this feature is pretty useless for me and the bar takes up so much unneccessary space.
Unfortunately I couldn't find any way to remove, hide or move this bar and couldn't even find where the logic is configured that yml-files with a certain content (this bar only appears when the file contains kubernetes-configuration) will get this bar.
Is there any way to get rid of it?
Related
I use markdown headers to navigate in notebooks but I also tend to make a lot of (non-header) markdown notes. Both show up in the outline which makes finding the right heading quite difficult as notebooks grow large.
Is there a way to suppress plain markdown cells showing up in the outline?
I have followed the discussion on github and at Creating Table of Contents in VS code Jupyter Notebook
the author of one answer was also not satisfied with the outline feature and created jupyter TOC extension, and at some point, I also ended up using it. This has an option to exclude text from visualization (I believe it is possible to set maximum expansion level), but I still consider the outline more desireable, because it stays visible when I scroll the document, which I consider essential.
The workaround I found is to put, when possible, text in the same cell as the header. This makes it easier to keep the outline clean, and just avoiding to expand too much the outline works decently for me, even if it implies some annoying restrictions on the way you structure text. Other than that, it is possible to play with the collapse/expand feature of the outline and get a sufficient control, even if the possibility of completely exclude the text is still a desireable upgrade.
For my daily work I use Xournal to take notes with my ThinkPad X220 Tablet's pen input. The inconvenient thing is that even in full screen there are two toolbars at the top of the screen. It looks like this:
I have the page on roughly 100% actual A4 paper size. There is unused area on the left and right as this is a 16:9 screen. The digitizer is also non-linear on the left and right screen edges, so I like to stay clear of that when writing.
With the current setup I have only so much height. The toolbars could move to the left or right to give more height, like so:
Each icon would be oriented normally, I just did not do that in the quick mock-up.
I cloned the git repository and found a xournal.glade file as well as src/xo-interface.{c,h}. The version of Glade on Fedora 23 complains about the old format of the .glade file so I converted it with gtk-builder-convert xournal.glade xournal-new.glade and was able to open the new file.
My only GUI experience is with Qt and Qt Designer. I looked into the UI widgets and found the layout contains which I can set from “horizontal” to “vertical”. The whole window is contained in a “vbox”. So in the XML code of the original, non-converted xournal.glade file I changed the HORIZONTAL to VERTICAL and vbox to hbox. When I recompile the project with make the UI looks just the same.
I thought that I perhaps have to generate some C code from within Glade but could not find anything. The Makefile apparently did not invoke anything that would convert it to C code.
How can I get the UI change to manifest in the new compilation?
Update 2016-05-15
Now I have a bit more time to dig into this. First I found out that xournal.glade is not really used within the compilation process. Changing anything there did not affect the program. Running strace src/xournal on the compiled version I saw that it did not use any .glade file there. Therefore the UI must be compiled into the program. This step cannot be automatic, I did not find anything in the makefiles.
On Fedora 23, opening xournal.glade results in many errors, deprecation warnings and so on. It took me until today to realize that I can install glade-2 and open that. This worked flawlessly. I could change the sorting order and replaced the layout to flow the other way around. The export feature updated src/xo-interface.c and after compilation I actually saw the changed version:
This is just what I want! Now I would have to see whether there is anything I could do to change this at run-time and make it a feature addition instead of just an incompatible fork.
After mild frustration with the difficulty to make top-level "plain old folders" within Eclipse for visual-organization purposes, I discovered that the thing I'm after is called a "working set". Hooray! But they don't seem to be rename-able, by any of the apparent avenues (right-clicking on it or using the Configure Working Sets window).
Is that just the way things are, since no one should be so lazy as to refuse making a new working set with the right name and transferring everything over? Or am I missing something obvious?
I also have a more minor question whose answer I already think I know. Can I tell a specific working set not to change its icon to have the "red X" when one of its children has an error? Nothing in the preferences under Debugging suggests to me the ability to turn off the automatic icon-changing. It's a useful feature, but I have a few simple practice projects with very basic errors, and I don't need the visual reminder to "fix" them, especially if they're in my "Practice" working set, whose icon I'd prefer not to change.
To rename a Working Set, you need to get to the dialogue of selecting a Working Set (click on the white down arrow at the top right of the package explorer > Configure Working Sets..), focus on your Working Set and click the "Edit" button. There, you can change the Working Set's name, as well as what's actually included in the Working Set.
There is no way (that I know of) to change the icon display to avoid showing the errors marker.
When working with MVC in Eclipse you might often have a model, view, and controller all with the same name open at the same time. When looking at each of the file tabs, you won't always know which is which and have to click through them, which can be quite a hassle sometimes. I've heard of being able to color code files based on the path in some editors. For example, tabs with path model could be set as green, path controller set as yellow, etc. Is this possible in Eclipse, or is there a plugin for something like this? If not, what do you do to more easily differentiate between the tabs? I've heard of people always opening a MVC set in a certain order. So you'll know the leftmost tab is the controller, the right most is the view, etc. However, that must also mean you need to open all 3 files each time. Any better tips or tricks?
Another thing about the file tabs that can be annoying is that when you have more files that can't fit in one line, eclipse pushes off to an arrow which you have to click to see the rest. It seems to be random which tabs get pushed off there, maybe the least used ones, I have no idea... This coupled with the problem above gets kind of annoying. I was trying to find a way to disable this and just show tabs that can't fit in one line to show up on a second line, but surprisingly couldn't find such an option (then again you also can't wordwrap without a plugin).
Hopefully there are some solutions to these two problems. Thanks.
Maybe this can be helpful
http://www.dipherence.com/2011/03/20/full-coloured-eclipse-navigator-plug-in/
With the latest version of Eclipse (Kepler 4.3.1, build M20130911-1000) when two or more files with the same base name are opened, tab will show also the parent directory name.
I'm working on some reflection stuff using Java across XML files. The process would be made much faster and less prone to error if I could get content assist to behave like a tree in a small window off to the side, but more than by my current cursor location.
My question is can this really be done without reinventing the wheel too much? Essentially I want to display a list of classes, choose a class, then drill down a TreeView similar to the outline view Eclipse has for a current open file and at some point I click a button below and it generates the desired XML formatted text I would have typed manually, this is generated based on whatever in the tree I have highlighted.
I've designed and begun work on the front and back end, but the piece that keeps eluding me is harnessing Eclipse's content assist to gather a list of practically anything I could possibly call in a given project.
Can this be done? I've been combing Eclipse's documentation for a few days and fighting with the source download dying halfway repeatedly.
I am not 100% if that's it but I had an eclipse plugin with spider in it's name in mind, which does what you described.
Maybe it is this one: http://eclipse-plugins.2y.net/eclipse/plugin_details.jsp?id=202
Furthermore when writing Eclipse plugins, it is useful to press ctrl+shift+f1 (eclipse plugin spy) once having worked in the pde this should be possible.
It shows you info about all possible extensionpoints refering to your current view.