How to find package for a dictionary object in Eclipse ADT? - eclipse-plugin

I am trying to determine a package for an data element, or domain, or whatever via Eclipse ADT, but have no luck. I'm doing usual object search via project search (Ctrl-Shift-A), and both Global search (Ctrl-H), the result is the same.
I see domain properties window
and it has no clue about what package it is.
What I've tried so far:
Using filters in project search bar, callable via Ctrl-Space
Package filter does not help, it lists all packages, not the relevant ones, where this domain was found. Picking each and every package will take infinity amount of time, because the hierarchy is huge.
Pressing "Link with editor" button
For some reason it doesn't work, should it with DDIC objects? When I press it with domain opened right-side, just nothing happens. In the help and e.g. here they describe it should open the object in the left within hierarchy.
Is it something broken with my ADT or this button doesn't work with DDIC objects?
P.S. It is ABAP Cloud trial system, if that matters.

Package can be seen in Properties tool (see the bottom part of the screenshot below)

Related

IntelliJ Plugin Development: LookupElement with class preview

For a custom language I created a CompletionContributor. Everything works fine. But I'm limited to the information I can display (only in the list or the bottom "advertisement" and only 1 line).
When trying to auto-complete on a java class name it will display more information on the selected line in a small side window. I would like to exploit that mechanism but I really don't know how it is done.
When looking at the options provided, I can use a custom LookupElementRenderer but there is no method in LookupElementPresentation related to the right window.
Any idea how it is done?
Are you referring to documentation popup which may be displayed if the corresponding setting (Setting->Editor->General->Code completion->Show the documentation popup in) is turned on?
If you want the feature to work for your language you have to use lang.documentationProvider extension point.

Highlight things marked as obsolete

I recently did some refactoring in our code and marked some widely-used functions as obsolete. The problem now is, that I get not visual indicator when I use an obsolete function right away. I have to hover over the function call to get the popup with further information about that function, and even there the "deprecated" warning is not very prominent. As these functions are to widely-used and cause no real treat, setting the isError property is not an option.
I know that somewhere I saw obsolete functions that were highlighted with some kind of underlining, but I can not find an option that does that. Where is that option, or how else can I achieve a more eye-catching indication?
I have created a simple toy VB.Net console application in MSVS, as you can see in the image the items marked obsolete are underlined in green where they are used.
If you are not seeing this then you will need to provide some more details on your solution's settings - what type of project is it, what version of visual studio are you opening it in, is it the same version it was created in, do you have any third party code linter (eg ReSharper) in use... etc
EDIT: As you mention in your comment, the project's properties, including the Code Analysis settings, will affect whether this underlining show's correctly or not; you will need to ensure the correct rule-set is selected there.

List of all errors in project in CLion

CLion 2016.2 helpfully detects potential errors in the file you're editing, which can be seen in the validation bar to the right of the code.
That's just a single file though, is there a way (like a tool window) to get a list of all such warnings in the whole project, or specific parts of it?
Bonus points if it also lists warnings and errors from the compiler, though that's less important, because the compiler output already includes any it found.
Yes, it is possible. The feature you are looking for is called the Inspector.
Do: Find Action... | Inspect Code. It will show a pop-up that will allow you to select the scope: file, whole project, custom, and the Inspection profile (you can choose the type of errors you want to see):
After clicking OK, this is an example of the output, that you can navigate with the mouse or with keyboard shortcuts:
In version 2017.2, I have it under Code | Inspect Code....
You can also right click a folder in Project view and select Inspect Code... there to be able to check only that folder.

VS2010 Silverlight 4 loading wrong project module

I have a sliverlight web application in VS2010. I have several projects in the solution,
one of them I use as a library of dialog boxes and other screens used in the other projects.
I edited one such dialog box, a child window, and added an extra row to the layout grid and
a combobox to the row. I rebuilt the soluition and my change appears in one sub-project but
not in another.
For the purpose of discussion here are the module names:
Manage - uses the child window 'add' in SilverlightClassLibrary2
Policy - uses the child window 'add' in SilverlightClassLibrary2
SilverlightClassLibrary2 - contains the child window 'add'
Note that this has been working for years until now.
My first indication of a problem was I could not hit a break point in Manage, it would
say no symbols loaded. I checked the references to SilverlightClassLibrary2 and they point
to the correct dll in the debug folder. A full recompile changes the date-time stamp of
the SilverlightClassLibrary2.dll everywhere. I deleted all dll's manually and re-compiled
and still manage has the old version of 'add' and policy has the new changes.
I'm at a loss as to where manage is getting an old copy of SilverlightClassLibrary2.dll
It is obviously looking somewhere else, this would also explain why the symbols are not
being loaded. It's not looking in the release folder, even so I re-compiled in release mode
to make sure it too had the changes. I deleted and re-added the reference (a project reference) to the SilverlightclassLibrary2.dll, still the same problem.
So where can I look to figure out what is going on with this?
SOLVED:
ahhhhhhh...it was chrome's browser cache that was giving me the old code.
As for the breakpoint issue, solved by using IE8 (i'm on xp) instead of chrome.
ahhhhhh...it was chrome's browser cache. I cleared it and now I see my changes.
Still can't hit the break point in chrome (no symbols loaded for some modules) even after clearing chrome's cache, but the breakpoints do work in IE8.
There was a suggestion to look at debug -> windows -> modules and locate the errant module and manually load symbols - but the module I want is not listed even though I navigate my app to the page in question. I use a line like this:
dim cw as new SilverlightClassLibrary2.Add
to create the child window, so perhaps this does not show up in the module list when using chrome? In IE8 the SilverlightClassLibrary2 module does show up in the list. strange.

Exact resource type name for String Table

What is the exact name of the String Table Resource Type (such as BITMAP, etc)? I'm using Visual Basic.
I've searched and I can't find anything regarding it.
That's not really the way it works. Each string you put in the string table will become a property. Of the Resources module. You access them in your code with My.Resources.Foo for a string named "Foo".
You can see all this by putting the Solution Explorer window into guru mode. Click the Show All Files icon in the toolbar at the top of the Solution Explorer window. You'll now see everything that's part of your project, including the auto-generated files. Open the My Project node, the Resources.resx node and double-click the Resources.Designer.vb node. You'll see the code that is auto-generated from the resources you entered. Don't edit the file.