Is there documentation on Eclipse E4XMI file - eclipse-plugin

Is there any good documentation on Application.e4xmi file, and explaining various elements in the file - Commands, Handlers, Trimmed Window, Trim Bars, Window Trim, Tool Bar, Tool Control, Handled Tool Item, etc.?
Maybe I missed it, but I could not find any on help.eclipse.org or searching on the internet.

Related

Fold HTML tag attributes feature similar to Sublime Text

One feature I've found really useful in Sublime Text is the ability to fold HTML tag attributes. Is there a way to do this with VSCode that I'm missing?
I don't think there's a built-in way to do this. Also, it seems the extension API currently doesn't have a way of hiding characters, see this open feature request (except for a hack mentioned by the second comment).
Extensions also can't customize the built-in folding yet, see #3422.
To fold individual attributes just move your mouse pointer to the left of the editor, in the empty space on the right of the line numbers. Small - icons will appear. Click on the ones you want to fold items.
Keyboard shortcut is CTRL+SHIFT+].
You can get the full list of key bindings there: https://code.visualstudio.com/docs/getstarted/keybindings

Why are some buttons grayed out in the markdown plugin for IntelliJ?

I'm using this plugin as a markdown plugin in IntelliJ. I tried to make a quick unordered list, but the button is grayed out. In fact, most of the buttons are grayed out. The only ones available to me are simple functions like bold, italics, strikethrough, etc. Here's a screenshot for reference:
I've tried highlighting sections of text, moving my keyboard cursor around, different kinds of markdown--all without any luck of "unlocking" the lists, tables, etc. so I must be doing something wrong. Anyone know?
Enabling the enhanced features using trial license
Goto http://vladsch.com/product/markdown-navigator/try and get a trial license (which will be e-mailed to you).
Then in Intellij, goto Settings -> Language and Frameworks. I noticed that there was already a license installed for me after first installing the Markdown Navigator plugin. However, based on the available features this license is the Basic version only (and had a validity of 73 days for me).
Click on Remove License and then paste the license code that you received in the e-mail. After that you should see this:
From the comments on the official markdown plugin page, it appears that the official plugin is not very stable.
Other free options
I have found the Markdown Navigator plugin to be quite useful and well worth the 20 USD per annum fees. However, if you are looking for just that one off editing of markdown files, then there are other options as well.
The one I find most convenient is the online StackEdit for quick editing tasks:
Best of both the worlds
If your work involves a bit more frequent editing of markdown files and you are averse to paying the licensing fees for for the Markdown Navigator, then with just a bit of work, it's possible and comes close to the convenience of using the Markdown Navigator.
Step 1 - Add an external editor of choice
I have used Typora as an example here, however there are others like Write (Freemium), ReText (Open Source) which can be used in a similar manner.
Here is how to add Typora as an external tool in Intellij Idea:
Note that $Filepath$ should be quoted as "$FilePath$" if there are likely to be spaces in your project path. Would recommend quoting nonetheless.
Also, note that the Group was set to Markdown Editors. This is significant as the Group name will be the name of the Menu item later on.
Step 2 : (Optional but recommended) Add a keyboard shortcut for Typora
Step 3 : Use the external editor!
Typora will now be available both using the keyboard shortcut or using Tools -> Markdown Editors (Remember that Markdown Editors was the name of the group in Step1?)
The following shows using both the keyboard shortcut and the menu item:
Note that, thanks to Intellij's auto-reload/refresh, as soon as you are done editing in Typora and focus the file (Readme.md in the above), the changes are automatically reflected there.
Kind of Enhanced Features will be available only if you have license.
In IntelliJ File | Settings | Languages & Frameworks | Markdown in License Information section you can buy it or use free trial for 15 days.

GUI automation with clicking on text

There are many GUI automation tools that allow clicking on a specified image (well-known Sikuli, for example). Is there any way to click on the specified text, not image? This way the tool will:
make screenshot
recognize text on it
find text position (somehow)
send click event to this position
It would be much easier to write tests using this approach (many interfaces have text button, inputs etc.) rather than make screenshots for every single element.
I've seen some OCR feature in Sikuli but it didn't work for me (I tried invoking click('some-text-here').
Sikuli built-in OCR features are pretty buggy and unstable. All (or at least most of) the related issues are listed in this BUG. However there are few possible workarounds which are, however, not also always applicable..
If the text is known, you can take a screenshot of the text and then look for it as a screenshot. For example if you know exact font of this text, you can automatically generate such text on the screen and use it as a pattern to locate it elsewhere.
The built-in tesseract based OCR, performs significantly better when the font is bigger, "fatter" and in Grayscale (usually). Hence you might do some background image processing before attempting the actual recognition. I used ImageMagick to resize and filter the images for better recognition. It can be in the background as a command line tool. For example:
convert -filter spline -resize 100x -unsharp 10x20 -type Grayscale
I am aware that this does not answer your question directly but these are steps you might consider taking towards the final solution.
I'm a developer at Deskover company and we are currently developing an application, UiPath Studio that meets your needs.
We provide text recognition on various technologies with 100% accuracy, ability to find specific text in an area on screen, a control or an entire window, and also ability to click text or controls.
You can execute different actions, sequentially by creating workflows.
We at Deskover are big fans of Sikuli project. We actually use the same image recognition engine in UiPath Studio.
UiPath Studio is a visual tool that helps you create workflows easily, but you can also use the underlying API and implement an application that extracts text and clicks on it.
You can find more details about the UiPath library here.

Is there a text editor or ide that will do this things?

Is there a text editor that will let me shade certain code blocks with specific colors so I can easily find them later? Bookmarks are great, but I also wanted to shade with the same color all code blocks which are somehow related to each other.
and
When my current text editors autocreate curly braces or parentheses for me and I type what I want in between them, are there any that let me either jump to the end of the line to put a semicolon there, or "return" to type the next line, or do I always have to use the arrow key to get out of the curly braces? Perhaps there is a shortcut I'm missing?
I think about every code editor, including Notepad++, has bookmarks. If you're looking for a more complete IDE, it probably depends on the language you're using. For .NET languages that is Visual Studio, but you probably would have known that. For PHP, Javascript and HTML/CSS, you can use Netbeans for PHP. Netbeans is also available for Java. It is a rich editor, and I think one of the best free general purpose IDE's available.
Marking pieces of code in colors is unknown to me. I've never seen an editor that supports this. You would also need a project in which to store the start and end points of these blocks, unless you would save them as comments or so in the file itself.
Visual Studio knows regions which you can define by a start tag and an end tag. You can collapse and unfold an entire region at once, making it quite easy to navigate through larger files.
But these regions are actually part of the code file, so you cannot use this for any file, because those region markers will probably make the file invalid.
I'm still wondering why any other shortcut key would be easier or more convenient than 'arrow down'..

Edge Animate Automation

Most Adobe products have the ability to be automated using AppleScript or ExtendScript/JavaScript but I don't seem to see the same capabilities in Edge Animate. Maybe I'm just missing something. I'm looking to be able to do things like open the document, add images, save the document, etc. Has anyone been able to find anything like this? I've done a number of different searches to no avail.
I'm not exactly sure what you're asking, but I think you're talking about adding your own javascript, which can be done by clicking the curly brackets located next to any of the elements in the animation, or hittin ctrl+E to see the full code.
Second, in terms of opening the document, you should be able to just double click the an file that it creates, and saving the document is just like in any other program, file>save(as).
Adding images is as simple as file>Import (hotkey = ctrl + I).
not exactly what I was asking for, but I did end up finding a solution. I was looking for a mechanism to be able to control Edge Animate similar to how you can control InDesign, Photoshop, and Flash via VBScript, and JavaScript respectively. This allows you to do things like import images into your document from an external script, save the document, export contents, etc. In the end, I wrote some code that sends key-strokes to the application and that resolved the problem although not ideally, IMHO. Thanks for your responses, though.