Does anybody know how can I find the path of a class in Dymola? E.g. the ones shown in the picture below.
The top one is a MixingBox from Modelica Buildings Library. The bottom one also looks like a component from the said library.
When you double-click any component the information should be shown in the parameter dialog as marked red below.
You can see this dialog after double-clicking the inertia1 in the example Modelica.Blocks.Examples.PID_Controller as marked red below.
Additionally you could take a look a the Modelica code directly...
Related
I recently discovered that is possible to use Attribute [ProcedureName].VB_*, inside procedures.
What I found
But this code is not shown inside VBA Editor.
Same code in VBA Editor (left) and exported .cls in Notepad (right)
When Attribute is written inside VBA Editor, it's marked red
Attributes added manually in the VBA Editor
The question
Is there more elegant way how to maintain these Attributes than export class module, edit them outside and import them back (facepalm needed)?
Also I haven't found official documentation for these Attributes (on https://learn.microsoft.com/en-us/office/vba/).
Thank you!
PS: As always I hitted something interesting and related just after Question had been sent. A step-by-step example on Microsoft Docs site suggests to do it by Export-Edit-Import method :(
The process for getting Rubberduck to apply annotations requires a few steps.
Execute a Rubberduck refresh. If the code does not compile cleanly then Rubberduck will show a 'Parse Error'. In this case you need to sort out your code first. This can be an issues if you are applying Rubberduck to an existing code base. If not then learn to compile and rubberduck.Refresh early and regularly (i.e. after every complete edit)
If Rubberduck parses successfully you then need to look at Rubberduck.Code Inspections. To take action about an inspection result select the individual result and right click. This will provide a list of actions that can be applied by Rubberduck.
Besides having this "annotate" option on the "Differences Viewer" located on the left side of a class, there is a new feature in IntelliJ for locating code author and commit message in place.
For example, if you have your cursor on some code in Java class, a grey text will be displayed beside the java line of code, containing the Author and his commit message for this line. See image below.
screenshot from IntelliJ
My IntelliJ is up-to-date 2019.2, but I never had this feature. Does someone know how to enable it or get it to work on my workplace?
Many thanks.
This functionality is provided by the GitToolBox plugin.
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.
I want the output to show to the right of the code, not bellow it. I can change the view to two columns but I can't change the position of the output panel. For example:
Is it possible to change the position of the output panel to be to the right of the code, not below it?
There is a solution, which exists for years already, but does not seem to be widely used. It's the package buildview: it puts the build output in any other view, i.e. acts as a normal tab.
LINK:
https://packagecontrol.io/packages/sublime-text-2-buildview
(perfectly works with sublime 3)
It seems this feature has been requested: http://sublimetext.userecho.com/topic/23694-ability-to-show-console-output-side-by-side-with-code/. So the answer would be no, there's no way to currently do this, and there doesn't seem to be mention of it in the changelog thus far for SublimeText3.
Is there an easy way to make a code TextBox?
I'm trying to make my own limited/specialized version of XAMLPad.
Displaying the current XAML object tree in the top display is simple enough, using XamlReader.Parse() ... But I'd like the actual XAML code in the bottom window to show up in its appropriate colors.
Here is an example of something similar to what I want.
(source: usefulfreeware.net)
The above example looks pretty authentic, with the little expander/collapser thingies on the left side as well as close-to-standard coloration of XAML tokens.
I believe that this doesn't have to be created from scratch, so I'm asking SO if anyone knows where I might find automated support for this type of "code" display.
Kaxaml uses ICSharpCode.TextEditor, the text editor component from SharpDevelop.
Have a look at sharpdevelop - we use it for an internal iron python editor