Does komodo edit provide a way to generate code to link a file giving the option to select the file (or graphic) to link? - api

I need to move from coffeecup to something else because of a very long save time in a directory with 1500 files. Komodo edit looks good (because it is similar to what I have lerned) but I see no obvious way to generate code to link to a file and then have the option to select the html file from a menu tree. Is there something I am overlooking?

Use the sample abbreviations to do this:
Go to View|Tabs & Sidebars|Toolbox
Open the HTML folder
Find the a element
Click it

Related

Adding an image to a solution which won't compile and which can be navigated to

It often happens that I draw diagrams of how something is designed in my application, for example a tree-like structure in a dialog window with several steps that the user can answer by choosing yes and no.
Is it possible to include this image in my solution but not compile it?
And would it be possible to add a link to the image in my code so that I can simply click on the link, and it would open up the image for me in VS?
This way I wouldn't have to locate it on my disk.
Thank you very much!
If you want to add an existing file to your project then right-click on your project in the Solution Explorer and select 'Add > Existing item'. Set the Build Action to Content and the Copy to output directory to Copy always or Copy if newer. The file will then be copied to the same folder as the EXE when you build. You can access such a file at run time using a path like this:
Dim filePath = IO.Path.Combine(Application.StartupPath, "filename.ext")

Is there a way to isolate the view of code-regions in IntelliJ?

I have some static HTML and want to generate templates out of it. Looking through the HTML tags I often find myself adding the tags I don't want to have in my templates because I went too far down in the hierarchy. Is there a way to kind of isolate the view of a marked code area? Like greying all unmarked code out somehow?
I'm still not 100% sure what you mean by "mark". I'm assuming you mean "select", that is highlight with the cursor, like this:
If that is the case... here is some info.
There is no way to "highlight" the selected portion and work with it, nor a way "dither out" the non selected portion as you go on to work with the desired portion. You could, however, make use of scratch files to work on the desired text. (Scratch files at IntelliJ IDEA help documentation)
With the portion you want to modify selected, if you create a new scratch file (Ctrl+Alt+Shift+Insert / ⇧⇧N or Tools > New Scratch File), the selected portion will be copied into a scratch file:
You could then work in that scratch file, then copy and paste the final result back into the original file (the changes you make in the scratch file are not "linked" to the original file).
Because you have a portion selected when you launch the scratch file, IDEA creates a scratch file of the same type (HTML in this case) as the selected content. (If done without selected text, a popup is shown asking the type of scratch file you want to create.) If you want JSP syntax awareness, in the HTML scratch file, open the context menu (i.e. right click) and select "Change Language" and select JSP from the menu (inline search is available, so you can just start typing JSP).

How can I only document a subfolder with GhostDoc?

I am trying to build a HelpFile in GhostDoc. It only gives me the option to document entire Projects. I only want to document a sub folder within a project. How can I do this?
I see no options to select a subfolder. If I right click on a project, no options come up. Does anyone know how to only document a subfolder?
While GhostDoc doesn't directly support the help docs for a folder, there is a workaround you should try.
You can add a tag on top of the namespace in all of the source files under that folder similar to
<tags>MyFolderDocs</tags
And then list MyFolderDocs in the "Tagged with" filter of the Help Configuration window on your screenshot.
I hope this helps.

Transferring Intellij Live Templates Between Machines

I'm trying to figure out how to transfer the templates in the /.IdeaC10/config/templates/user.xml file to my coworker's machines.
If I copy into the user.xml file, then those changes seem to be getting squashed by Intellij, reverting to the old file contents.
Anyone know how to work around this?
EDIT:
Is there any way to do this by copying and pasting the xml? That would be preferrable...!
Use File | Imprort/Export Settings.
An improved and easier way
This allows you to share them easily between collegues.
You can select multiple live templates and then copy them (right click and select copy, or ctrl+c). This gives you XML-descriptions in your clipboard you can send to others.
Other can then take that XML, and paste it into a "Template Group". Right click one of the groups and select Paste. If the option is greyed out, you didn't select a group but something else.
If you have Settings Repository set you may find your Live Templates stored in
<your_user_home_directory>\
.IntelliJIdea<version>\
config\
settingsRepository\
repository\
templates
the technique of copying and pasting the xml file on another computer in the correct directory, function perfectly for me! But the name of my template file is android.xml for my Android developments. Maybe the file name "user" is protected. Try maybe with a different file name
You need to create the required custom template groups and update the relevant predefined groups as necessary and click OK. Based on these changes, IntelliJ IDEA generates the <group_name>.xml files, see Location of Custom Live Templates Definitions above.
Depending on the operating system you are using, the .xml files are stored at the following locations:
Windows: <your_user_home_directory>.IntelliJ IDEA<version_number>\config\templates
Linux: ~IntelliJ IDEA<version>\config\templates
OS X: ~/Library/Preferences/IntelliJ IDEA<version>/templates
Refer to Intellij Help article.

Dynamic forms in Slickedit

I want to know if we can create dynamic dialog boxes in slickedit by reading the the value of form elements from an external file (.txt file) . If yes , how ??
Please give an example of what your .txt file could have
but the short answer would be - did you look yet at the macros dir?
There are plenty of dialog examples there. For example I used the project_load() as a template for a dialog that used an external file list.
Please look at that function and respond