How to detect which option is clicked in right click menu? - right-click

is there any way to detect which option has been clicked in right click menu?
can you please help us out with java/c code?
any command prompt option to detect is also ok..
(Suse linux)
we have already tried to access system clipboard (windows) but have failed to detect
thanks..

Related

problem with running files in intellije idea,itsApparently the problem was caused by windows security

enter image description hereenter image description here
Windows Defender might impact performance
Exclude IDE and project directories from antivirus scans:
C:\Users\shahrokh\IdeaProjects\untitled1
C:\Users\shahrokh\AppData\Local\JetBrains\IntelliJIdea2021.2
C:\Users\shahrokh.gradle
Alternatively, add the IDE process as an exclusion.
i search it in the special site of intellij idea ,and see it:
If you prefer to perform the necessary configuration manually, you can do so by following these steps:
Click the Start button
Type “Windows Security”
Click on “Virus and threat protection”
Click on “Manage settings” under “Virus & threat protection settings”
Scroll down if needed, and then click on “Add or remove exclusions”
For every folder shown in the notification, press the + button, select “Folder” from the menu, and select the folder.
but when i search Windows Security my system show me windows defender ,there arent these setting
In addition, I changed my anti-virus settings so as not to interfere with the intellij idea process. But again, the problem was not solved.
i use kaspersky protection
please help me
You don't have to worry about anything. IntelliJ will continue to function as it is intended to and will get the work done. I also get some messages like this sometimes and just ignore them. Again there's no major impact on the performance. Hope that I was able to help.
i uninstall my intellij idea then install it again and it solved

PhpStorm IDE: Cursor gets stuck in text-select (highlight) mode in Ubuntu 18 LTS

I am using PhpStorm for working on Laravel projects. However, the mouse gets stuck in text highlight mode and right click does not work on the IDE.
Closing the IDE and restarting does not help solve the issue. I have tried to look for an answer online without success.
For those struggling like me, I got a workaround.
I went to my Ubuntu OS "Settings"
"Mouse & Settings" option
Then "Mouse and TouchPad"
Disabled the touchpad by toggling the "ON/OFF" switch
Re-enabled the touchpad again by toggling the same "ON/OFF" switch
When I went back to my IDE, behold, it works. My trackpad is no longer stuck in highlight mode.
Disclaimer: I have a touch-sensitive screen and that's how I was able to re-enable the touchpad again. I don't know how one would do this without another input source.
This was a big help for me, thanks!
Just to be clear, enabling/disabling the touchpad is in Ubuntu settings, not in PHPStorm settings.

IntelliJ idea hidden Run Configurations

I encountered strange problem. After fresh install of IntelliJ Idea 2016.1 and configuring two Run Configurations, I noticed, that one is missing from Run menu. So I opened Edit Configurations... and there were both of them. Then by accident, I left the other configuration selected when closing Edit Configurations... dialog. And bam, first Run Configuration dissapeared and second (one highlighted when leaving Edit Configurations...) appeared in Run menu. Can somebody tell me, how to display both? Thanks
I can verify this behaviour. I'm using IntelliJ IDEA 2016.1 too.
I think that is no bug, because you can find all your run configurations when you click on Select Rub/Debug Configuration in the toolbar.
The purpose of the menu Run isn't to offer all the configurations. There can be dozens.
Problem solved. 'Run' menu item now takes 'Run Configuration' selected in this panel on the right side position of Run panel. Hope this helps some other folks.

Netbeans project property disable

I am unable to do set my project property. when i do right click of my netbeans project then i can see project property in last option but unable to click property. i am using netbeans 8.0 and centos 7 os. In my laptop its working fine but desktop its not working. i did reset netbeans and reinstall again, I did same configrutaion but proble is same...
right-click my projects -> properties //this thing disable
anyone know why netbeans project property is disable my desktop only?
I hope here i will get answer.
Thanks in advance!!
#Trat, When you do right click on your netbeans project then property option show in last. so property option is showing over the task bar thats why you are unable to click on property. and you are thinking it is disable.
You need to set your screen resolution if you will use high resolution according your desktop screen then property option will not come over the task bar and you can click that option. I hope this solution will work for you :)

Eclipse Plugin to "Open Explorer in this File location" for Package Explorer

Is there any plugin that lets me open the file I selected in the Package Explorer in windows explorer?
I am looking for an extra menu option in the right click menu of the package explorer.
Since Eclipse 4.4 (Luna) there is a Show in System Explorer command available from the context menu.
The Show In menu is also accessible through Alt+Shift+W on Linux/Windows and Alt+Cmd+W on macOS.
While there is a default setting that is suitable in most cases, the command for launching the system explorer can be configured on the General > Workspace preference page.
Hmmm... Looks like we all have this problem.
You can use this plugin to do exactly that and a bit more...
Sorry for self advertising... But I think this is what you are looking for!
I'm using StartExplorer for several years now. It's easy to use, is up-to-date and does simply, what you are expecting from it. You can install it through
Help > Eclipse Marketplace...
Usage:
If you can live without the context menu, you can even get this without any additional plugin, using just a launch configuration on the active selection.
I'm not sure if there's a direct way, but what you can do is right click on the file/folder, go to properties, then copy "Location" and put that string into a blank explorer window.
so,
right-click --> properties --> Location --> ctrl-c
open explorer window --> ctrl-v --> go button
You might want to have a look at http://marketplace.eclipse.org/content/eexplorer
keeps windows explorer in sync without the need to sync manually via context menu
less explorer windows -> less clutter
possibility to pop out native explorer
keyboard short cuts
:-)
Here's a simple plugin with just shell & file explorer
http://marketplace.eclipse.org/content/open-here-eclipse