Is there a solution how to change the default error template (indicator) so that the error message is displayed immediately below the text field and not only when the mouse is moved over the red symbol?
I have been looking for this issue for a long time, but could not find anything on this issue, except the following post, which did not help me either:
Style AutoCompleteBox Error Indicator
Related
I was trying to change the default MsiRMFilesInUse dialog box provided by restart manager used in wix toolset. Basically I want to localize the default message in the dialog box since it is not getting localized by windows.
I found this answer (https://stackoverflow.com/a/46462452/14162315) which explains the steps of making the custom dialog box instead of normal one. A custom dialog box could help me in localizing the message.
I tried the above steps but I am getting the error - Duplicate symbol 'Property:WixUIRMOption' found. This typically means that an Id is duplicated. Check to make sure all your identifiers of a given type (File, Component, Feature) are unique.
I thought that I have to change the property id of WixUIRMOption also to some custom value to mitigate the error, so I changed it to Custom_WixUIRMOption. It compiled successfully after this change but the dialog box is not coming at all after this change.
link to source code of default MsiRMFilesInUse.wxs - https://github.com/AnalogJ/Wix3.6Toolset/blob/master/RC0-source/wix36-sources/src/ext/UIExtension/wixlib/MsiRMFilesInUse.wxs
you should be fine if you provide a localization for MsiRMFilesInUseText.
<String Id="MsiRMFilesInUseText" Overridable="yes">Translated text</String>
See how the dialog is implemented:
https://github.com/wixtoolset/wix3/blob/develop/src/ext/UIExtension/wixlib/MsiRMFilesInUse.wxs
See how wix ui is translated:
https://github.com/wixtoolset/wix3/blob/develop/src/ext/UIExtension/wixlib/WixUI_en-us.wxl
I am using IntelliJ IDEA (2016.3) linux version for Java development. As shown in the image below when the mouse pointer hover over an error line, the error message is overlapped by the javadoc making it harder to read the given error message. How to fix this?. Thanks in advance
I use 2017.1.3 EAP on Win10 and it is the same. Seems like a bug.
There are several workarounds:
Set time delay for documentation popup to a higher value. This should give you more time to read the error message. (Settings -> Editor -> General -> Show quick documentation on mouse move).
Set a cursor at the code with the error and you will see a duplicated error message in the status bar.
You can also have the documentation in a fixed spot by clicking the pin in the top right corner of the pop-up. The window will then always be there, but it does update on mouse-overs and it is not over the warning- and errormessages anymore.
This happened to me in Android Studio and I've just removed documentation on mouse hover setting and set a Shortcut Key (Alt+D) for that. This is more comfortable for me.
IntelliJ IDEA automatically shows a red line if it cannot resolve some entities or it detects an error. Is there a way to copy and paste the content of that tooltip?
With eclipse I use the f2 to get the information.
I used the idea version 14.1.4 and use this way to copy the tooltips.
You can click the error line and the info will display, now you can right click to copy this error info.
Mouse shortcut:
Hover mouse over error in editor to bring up tooltip
Alt + click on error message inside tooltip to copy it to clipboard
For step 1 you can also bring up the tooltip for the current carret position by Ctrl + F1. For step 2 there does not seem to exist a keyboard shortcut at the time of writing (for IntelliJ 2018.1), see also IDEA-65636.
If you stumbled upon looking for solution for Linux version (and none of the above worked for you, like for me) click ctrl+alt+left mouse button on the tooltip, and you'll get its content into the clipboard :)
No, the tooltips don't offer a way to get that information from their context alone.
You could traditionally compile it instead via Build -> Compile and get the error message that way, instead. You can then select this text and do with it what you wish.
There is a bug report on this since 2011 (!) . Feel free /encouraged to vote for having the bug fixed:
https://youtrack.jetbrains.com/issue/IDEA-65636
IDEA-65636 I can't copy text from tooltip, though I can select it
Though honestly JetBrains infrequently gets around to non super critical bug fixes.
In eclipse when you hover over some erroneous text you can press F2 to focus there. What is the equivalent procedure in IntelliJ?
Whenever I put my pointer over some error the text describing it disappears.
In Eclipse it will suggest what I can do to fix something like an unhandled IO exception. I'm sure IntelliJ can also do this because some people I know who are quite skillful programmers highly recommended it to me, but- how to do this?
That is: hover over some text at is in error, see what the error is, the options to fix it, and then choose one.
If you click on the highlighted part of code, the error description will appear in a pop-up bubble as well as in statusbar.
You can then hit ALT+Enter which will offer you some options to handle the given error/warning or to disable the warning.
The actions you are looking for is called "Error Description" and "Show Intention Actions".
⌘+F1 (Ctrl+F1 on non-mac) will show the error info on based on where the caret is.
Alt+Enter will show the Intention Actions available based of the location of the caret.
I have few issues working with QTP:
• I am setting 100 value to using a JavaEdit box.
• I have added the objects to the objects repository using object spy.
• I get an error “ Unspecified error” when I run my action and it takes more time to give this error.
Try JavaEdit.Type instead.
The difference between the two are that JavaEdit.set clears the edit box and sets the edit box to the value whereas JavaEdidt.type types each character into the edit box.
The only problem would be if the edit box already contains text but that may not be a problem for your test.
Also make sure you have the correct details in the Object Repository.