I have installed eclipse in Ubuntu 12.10. After working for a few days, I created my first CDT C++ project and stay there for while. Now when I go back to my Java project I found that when I type in a variable name and press "." nothing appears.
However, I can bring the context menu back by select "Edit" -> "Content assit" -> "Java Proposals". The problem is it is not convenient at all. When Click "Default Proposals" an empty context menu with "No Default proposal" appears. I have also confirmed that the right aspect "Java" is being activated.
How to return back to the original status (the Java proposals menu brings by default)?
Eclipse Platform version is 3.7.0.I20120502-2000
I have just fixed this problem by scanning all preferences options. However it is still not explain why it was disappeared because I didn't change anything there.
In "Preferences" dialog choose "Java" -> "Editor" -> "Content Assist" -> "Advanced", in my case the top list box there are some check box have not checked, including "Java Proposals". The problem has been fixed by check that box and click "OK" button.
I will leave this answer here for a while before I mark it as right, to hear better advices.
Quick Access Content Assist
you can type and search "Java Proposal" in "quick access", to find the "content assist" menu
Ctrl + 3 ==>Go to "Quick Access" menu
Type and search "Java Proposals"
Check that Bok and Click ok...
searching content assist through Quick Access
Related
I had just installed Dart and was following the first app tutorial for flutter. I opened the profile/AndoidManifest.xml file.
I clicked the "Open for editing in Android Studio" text. It showed me three choices: "This Window", "New Window", and "Cancel", and a check box to "Remember, don't ask again".
I foolishly checked "Remember, don't ask again" and clicked "New Window". "New window" is not the choice I wanted to make permanent. Neither was "This window", I should have clicked cancel, but that's beside the point.
I cannot figure out how to un-remember this setting choice. I have searched through File->Settings without finding anything that seems applicable.
You can handle it via that steps.
File -> Settings -> Appearance & Behavior -> System Settings -> Project Opening
And you can tick Ask Button.
enter image description here
One code directory is from a long working library, but the code inspector complains about many issues in it. How do I exclude it from analysis?
I've tried looking at the settings, and also tried right clicking on various things through the analysis.
I'd like the code inspection to work for most of my project, but not from parts of it that work and analysis is unneeded. In this case, it is a complex open source C language library where I do not want to touch the code.
Okay - I feel a bit dumb, but so others don't have to go through this, here are details. Also, it is very easy to screw this up - the Android Studio GUI will let you do stuff that looks good in the dialog, but doesn't work. It took me several tries to find the magic that works.
Here is the procedure:
From the main menu, select "Analyze" then "Inspect Code"
Click the button next to "Custom Scope"
Click the three dots button - to the right on the same line. A new dialog will pop up.
Click the plus ( + ) - upper left, to start a new Custom scope
Give it a name
Select "Local" or "Remote"
In the drop-down of the new dialog, select Project view
Of the four icons, click them until only the one for file display is emphasized
Find the top directory of what you want to analyze, and click "Include"
Find each directory you want to exclude, and click "Exclude" for each
Click OK - the custom scope dialog will close
Click OK - the analysis will run
In the future, that scope is available by name, but remember that it does not honor the implied scope if you right-click a directory in the hierarchy.
I am trying to open a second project in my current PyCharm window, and I got the following pop up window:
However, the choice of "Add to currently opened project" check box doesn't show.
The tutorial at https://www.jetbrains.com/help/pycharm/2018.1/opening-multiple-projects.html?utm_medium=link&utm_source=product&utm_campaign=PC&utm_content=2018.1
has the check box. Why doesn't my pop-out window have the check box? Thanks!
According to this,
the option is only available for opening a new project. Also, see the bug tracker. In order to get the "add to currently opened projects" you have to go through "File" -> "Open" not "File" -> "Open Recent". Tested with PyCharm 2018.1 (Community Edition) on Windows 10.
I am looking for Breadcrumb functionality like Eclipse in Android Studio.
In Eclipse Breadcrumb shows "method signature" when pointer(cursor) come inside whereas in Android Studio Breadcrumb is good for nothing.
Please find attached for better insight.
The accepted answer is not correct.
The feature is still here in 2018.
It's under View -> Active Editor -> Show Breadcrums.
The breadcrums are situated south of the current editing window, not north as in Eclipse.
You can enable it via View -> Navigation Bar and check it.
But it will show breadcrumb/navigation upto class only and not upto the method signature.
As suggessted by AVEbrahimi also, ctrl+F12 will show method signature.
Seems this feature gone away.
You should use:
Ctrl+F12 OR CMD+F12
Here are two ways to see the method signature through a tool tip that hovers next to the method you have selected or put the caret on.
Press ctrl + P with the method selected.
or
Go to View > Show Parameter Info with the method selected.
I found the above solution on the second link I looked at after this one. The link was for a different IDE but the hotkey works in Android Studio.
Show Parameter Info
Also, you can go to Settings > Editor
Under "Other" check "Show quick doc on mouse move". This will show a popup tool tip with information about the method including parameter info.
Found that here:
View method information in Android Studio
Pressing Alt+Q displays the name of the current context, which is actually the method name (Context Info) quickly and easily.
So, following the advice on this SO post (sorry, I would comment there expect I don't have enough reputation)
Gradle: FAILURE: Could not determine which tasks to execute
I removed the tags from my .iml files, which allows me to compile. But when I go to run the .apk on a device, I get the error
"Error running TestProject: No Android facet found for TestProject"
Can someone help please, just want to get back to writing Android apps!
Add an android facet to your module by following below steps.
1) Go To File Menu -> Project Structure, or press (Ctrl+Alt+Shift+S) shortcut to open "Project Structure".
2) Select "Facets" which is under the "Project Settings" tab. (First column)
3) Click on "+" button which is at the top of the Second Column to add new facets.
4) Select "Android" facet from that "Add "menu which will prompt another dialog box to select a module. (Select a module to which you want to apply this facet).
5) Select your module and that's it. :)
Hope this will solve your problem.
At the toolbar left of the run and debug button there is a drop down. Select your project main activiy.
In my case, it helped to just go to "Edit Configurations..." and delete the current configuration. Then I just created a new one with the default options.