I'm using dojo 1.8.1 and have two inline editors, one for a Textarea, and one for an Editor. I would like to provide flyover tips to help explain how they should be used. Ideally, I'd like to seed the inline editor's textarea / editor with a hint if there is no content, and have this disappear when they click to edit the missing content (the underlines with the writer icon didn't do it for me -- if I can replace that span that would be okay too). However, as a start it would be nice to have a tooltip show when mousing over the entry area.
There is a parameter in the constructor for the InlineEditBox called noValueIndicator where you can put the hint for content when none has been supplied and it disappears when the editor has focus for entry. Too simple -- horses, not zebras...
Related
The other day I mis-clicked on and mis-dragged something probably and then the left "side bar" of the editor window got wider than normal.
Since this happened by mis-clicking and dragging, I don't know how to reset it back to the normal width. It simply doesn't respond when I try to click and drag the borderline. Didn't find anything related in Settings either.
It's not possible to change the gutter width at the moment. It adjusts itself automatically when needed (e.g. there is a gutter icon for override method and a breakpoint on the same line).
Looking at your screenshot, the width is actually standard. It needs some extra space to allow you setting breakpoints without accidentally clicking the line number.
You could submit a feature request/usability problem to https://youtrack.jetbrains.com/issues/IDEA, but to me, it seems fine.
But since you say it was different the other day and then something happened and it became wider, you could try starting PyCharm with default settings by renaming/removing configuration folder. Here is the article on how to find it.
Go to Settings -> Editor -> General -> Gutter Icon and uncheck the Show gutter icons.
But you should be careful: this action will hide information about recursive calls, override methods etc...
IntelliJ display Java code auto-completion suggestions in a drop-down menu after pressing CtrlSpace. All other IDEs manage to display the corresponding Javadoc if available. How to get IntelliJ to do that?
How to see JavaDoc in IntelliJ IDEA? refers to displaying it on a mouse hover event whereas I'm missing the Javadoc from code-completion suggestions.
Once you put a dot and the suggestions appear, press F1 (which is the default shortcut for "Quick Documentation" in most keymaps). The documentation for the currently selected method then appears as a card as show in the image. Then you can either use the up/down arrow keys or start typing the method name to select it. The documentation card will reflect accordingly.
You can also click on the pin icon on top right of the documentation card to expand it if required.
Intellij Idea show horizontal scroll for wide JavaDoc method declaration (preserving original text formatting on new line) in yellow documentation help tooltip while NetBeans IDE wrap both text and declaration to fit tooltip width.
It is annoying instead of just using Up/Down mouse scroll also move horizontal scrollbar to see hidden method arguments.
Note that today IDE practice is to extract JavaDoc from sources package and preserving text formatting by Intellij Idea is not smart, at least inconvenient...
I've submitted this problem to YouTrack, feel free to vote:
IDEA-169414 Method signature is not wrapped in JavaDoc
I have downloaded Dreamweaver CS5.5 version 11.5 Built 5315. It seems to be the newest one.
But the problem is that it changes the view of the document window. It looks like usual windows-style window (please see the screenshot). Before this version I used CS5 ver 11.0 Built 4909 and document window had normal view and style, just the same as whole Dreamweaver – it was grey with small text in title and small icons on the top right corner, just usual like it has to be.
But more than that, it behaves strange way when you resize that document window. It breaks long lines of code to the new line when you make document window smaller instead of just hiding it under the right side like in previous version.
What can it be? Is it possible to turn it to normal view and behavior? Has anyone had such problem? Please, help to solve it.
No idea about the window styling, I always work with maximized document windows, so I don't know if this was a change, or there is something specific with your system.
Dreamweaver's default is to use word wrap in code view, this has been the case for many versions of Dreamweaver, if your older version wasn't using word wrap then that is something that you turned off. You can turn that off from View -> Code view options -> Word Wrap, or via the Word Wrap button in the code toolbar (along right side of your document window) in your screenshot it appears to be the bottom activated button it has an arrow on that starts on the bottom right of the icon and point to the left.
I have an Eclipse RCP application. I have created an Editor. There are few context menu (default), when I right click on the Editor. I have not created these menus.
Please let me know, How to remove the context menu of the Editor?
It needs different approach by which editor you extends.
Let me know What you extends, than I can answer more efficient one.
In general way:
IWorkbenchParSite#registerContextMenu(...) will be used, So find where calls that, override it. It is not recommend. Because by doing this, Menu Extensions which is contributed for your editor will not work anymore.
If you mean the system menu that appears on editor tabs and view tabs, that menu is provided by the presentation (2.1, Classic, Default, etc). There is no tweak to simply modify it.
The 2 ways to remove it would be:
write your own presentation, using
the
org.eclipse.ui.presentations.StackPresentation
API and matching extension point.
Writing a presentation is a involved
undertaking.
Change the internal classes in the
org.eclipse.ui.workbench plugin
and patch that plugin in your RCP
app.
If you use Text or StyleText you will get the system default menu (cut,copy,paste, maybe something about encoding or input). If you are not going to supply your own menu, simply create an empty SWT Menu and set it:
Menu emptyMenu = new Menu(text);
text.setMenu(emptyMenu);
Eclipse also has a text editing framework, if you need more than a basic text box you should check it out. http://wiki.eclipse.org/The_Official_Eclipse_FAQs#Text_Editors