Expanding CodeMap as output from Architecture in vs2017 - code-map

How to view the complete expanded DGML generated from Architecure - CodeMap menu , till fields/methods.
For each level currently we are required to select and click on expand in Group menu and it expands one level.
How to drill down to all levels at once.

You can't do that, you have to expand level by level. The reason we didn't put something like this in the product was that as you drill down more and more graph elements are created on the screen and it becomes unmanageable / unusable fast.
Alternatively, there are a few code queries you can use, if you right click on a class etc. you see options such as "Show all classes derived from this" etc.

Related

How to migrate Navision Microsoft Dynamics report to SQL

I have access to the Navision SQL Server database and the corresponding Microsoft Dynamics NAV interface.
I want to migrate the 'Aged Acc. Receivable DII' report. Once I select the report and go to Tools > Designer I can see the 'DataItem' list, and when I select any of those and press F9 I see the C/AL Editor as per below.
Selecting another 'Data Item' provides another code. My initial question would be, which code from the 'Data Item' refers to the 'Preview' button in the 'Aged Accounts Receivable - IRES' window?
From the code I understand there are 3 tables joined (Customer, Cust_ Ledger Entry and Detailed Cust_ Ledg_ Entry) but I can not manage to output the same result that in the report produced in the interface. I'm guessing this is a generic report. Is there a query that could be used to generate the same output? Or documentation that would explain how the report is created?
Oh man, i don’t know where to start. MS seems to finally buried Navision 5 along with it’s documentation on msdn. But it is still should be possible for you to open local documentation with F1. Just make sure you are pressing it while your input cursor is on the code. This will open developer’s docu. You will not find there any explanations about how data is structured for output, but you will be able to find how things works.
Back to your questions. You need all the code you see in triggers. And might happen you will need code from the layout that you have not yet discovered. Preview and print buttons doing the same except for the global variable CurrReport.Preview is set to true.
To see if there is any other code open View-Sections, select any section and F9. Code will also be different per section.
The form you are asking is called RequestForm, hence the menu called View-Request page. F9 on the page and any elements on it.
Also, see the button that is third from the right on toolbar on your screen. That is Properties. Many things have properties. For example DataItem’s properties will tell you have child and parent are linked.
If you can open report in the designer then you probably have a developer’s license uploaded to database. Where is the developer then?) It should also allow you to export objects to text file. The you will be able to read every last bit of the code. When window with dataitems is active (for previously mentioned commands as well) press File-Export and select text format. Fob will produce binary output, not useful for you.

Disable categorization in "method / event / enum dropdown browser"

.
In VB6, the dropdown in the IDE shown above wasn't categorized.
I could easily browse "ucBoardGrid"'s events and properties as they were all shown in the same dropdown menu.
While VS2017 tries to organize things for me, I feel that it's mostly much more time-taking to browse where I want to:
First I need to select the "main category" in the left dropdown menu, then I can view the methods / events / properties in the right dropdown menu.
Is there a way to disable this categorization? I would like everything to be shown in a single dropdown list right away.
I fondly remember the old VB6 menu's just as you've explained.
I would like everything to be shown in a single dropdown list right away.
I doubt you can remove the categorization, however I have something far more amazing. These days I find myself using Ctrl+T.
The new Go to All window in Visual Studio 2017 lets you navigate directly to any file, type, member, line or symbol by typing a search query:
The main difference from the Navigate To window (existed since Visual Studio 2010) is that now you can easily limit search results to files, types, members or symbols clicking on the corresponding toolbar button. Alternatively, you can type the special character and space before the search query:
Works for Files (f), Types (t), Members (m), Symbols (#) and Lines (:), e.g. f stac for file paths containing stac
Edit: Apart from Ctrl+T, I typically use F12 to goto definition. Then I use Ctrl+ minus key to go back, and back, F12 forward, and back, again. It's the fastest I've found.
I'm also a fan while debugging to pull up Ctrl+Alt+c the call stack, up/down arrow keys while focus is on CallStack window.
F12 & Ctrl+- is the key, anything else Ctrl+T.

PhpStorm - can I expand all folders? [duplicate]

Please note that I am not referring to folded code blocks, but to the folders in the Project View.
command + - collapses all folders (Project View).
There's also an icon to collapse all folders in the Project View. However, I don't see an icon or a command in the keymap that expand all folders in the Project View.
Is it possible? If so, how?
Is it possible? If so, how?
Yes and No.
If you want one button/action that would expand all tree nodes till the very end (recursively) (opposite to collapse all) -- then answer is "No".
Why?
[1] "Expand all" in Project view is meaningless for any reasonable-sized project, for performance and other reasons.
[2] At least in debugger, most of the trees can be expanded infinitely and this is not always obvious when you're about to expand one. Do you realize that?
The 2nd one can also apply to Project View because of cyclic symbolic links.
Related tickets:
https://youtrack.jetbrains.com/issue/IDEA-96225
https://youtrack.jetbrains.com/issue/IDEA-52772
https://youtrack.jetbrains.com/issue/IDEA-90984
https://youtrack.jetbrains.com/issue/IDEA-106264
But "Yes" -- you can expand next level in all sub folders simultaneously (one level at a time). So using it few times in a row will most likely expand whole tree (depends on how deep the tree is).
For that just use NumPad * on desired main node (e.g. project root).
P.S. You can re-assign shortcut to whatever else you desire -- corresponding action is called Fully Expand Tree Node.

In Enterprise Architect, can I export the structured specification of an element's scenario into a report?

For each model element, there is the option in EA 10 to create internal requirements, constraints and scenarios. All of them end up in reports if you use the pre-defined Basic Template.
However, if you select "structured specification" instead of the default "description" text field for a scenario, then I end up with the steps of the structured specification being ignored in the report output.
How can I have them included in reports?
It sounds like you need to create your own reporting template. This may seem a bit daunting first time out and the template editor is pretty ornery, but luckily you can use an existing template as a starting point.
Hit F8 to bring up the Generate Documentation dialog, then select the Templates tab. Click New, specify a name and select a template you like to be copied. Don't bother with a template group, and leave the fragment checkbox unchecked.
In the editor, scroll down about halfway (assuming you selected to copy the Basic template) and locate the yellow scenario > tag.
Now in the checkbox tree on the left, scroll down do Package - Element - Scenario. Note that Scenario is checked, but Structured Scenarios is not. Check it.
In the editor, note the new structured scenarios > tag. Remove the right-click-to-insert text, then right-click and select Insert Field, then State etc.
It's more than a little fiddly, but if the Basic template is good enough to begin with you should be able to add the structured scenarios with a minimum of effort.
For more information, see the help file under Reporting - RTF Documents. Note that the individual fields aren't listed in the help file, you need to open up the template editor to see what specific information you can extract to your report.

Submenu still visible after unfolding and folding it back in SSMS "browse mode."

I have deployed a cube in SSAS and browsing it in SSMS. I have several hierarchies and i unfold these, for example: Product type - Product Subtype - Product.
When i have finished looking at those sub-hierarhies i press "minus-sign" on the top hierarchie and all the lower details dissapears(as it should), but not the headlines, for example the product subtype. Where can i change this when i am making my cube? Or is it something in SSMS?
Seems like i have to drag and drop this outside to get rid of it.