Eclipse Juno not recognizing user defined dictionary has been specified - dictionary

I'm a new user to Eclipse (Juno) with SUSE 11 Linux,I am looking for specifying a user defined dictionary so that I can stop all the "Trolltech" and "Qt" references in my Qt projects showing up as spelling errors, without turning off all spell checking.
I found following instructions online, I select Window | Preferences | Editors | Text Editors | Spelling and get a panel including a field in which to specify a user defined dictionary. I gather all this needs to be, is a text file. I have tried two variations for this:
As root,
created an /opt/eclipse/dictionary/dictionary.txt file, file
permissions set 777 but higher level directories 755s
created a /dictionary/dictionary.txt file, both directory and file permissions
set 777.
I have at this point, in each case,
specified the full (absolute) path to one of these files in the
"User defined dictionary" field,
clicked either Apply | OK to set the path, or just OK, exiting the dialog
seen no change in the Eclipse editor, which still shows these terms as misspellings
at the level of the project, attempted Refresh of the project from
the right-mouse popup menu
tried re-indexing at the level of the project using Index | Rebuild from the right-mouse popup menu
tried refreshing files at the level of the project using Index |
Freshen All Files from the right-mouse popup menu (no reason
to believe that either of steps 5 or 6 will help, but I'm basically
trying everything that seems available to be tried)
closed and re-opened the project
closed and re-opened the IDE.
When I restart the IDE and go back into Window | Preferences, etc., the panel shows the dictionary text file I've specified AS specified, but there seems to be no functional recognition of this by the IDE.
Adding to the joy, when I hover above either of the "errors" I'd like to stop seeing, I don't get the quick fix option of adding the error word to the dictionary, because last week I ticked the option that said "don't prompt to add to a dictionary, if no dictionary exists". Doesn't appear that any dictionary is being recognized as existing.
Can anyone tell me what I'm missing, here?

I'm just adding this here because Dorothy didn't answer his own question even after 3 years. This will stop the question showing up in the unanswered category and provide space for newer questions.
Dorothy Wight:
OK, I figured it out. The thing none of the instructions I'd read mentioned, is that in the Windows | Preferences etc., panel, you have to change from "Default spelling engine" to "C/C++ spelling engine". Then you re-specify the dictionary and it works.

Related

RoboHelp is missing ouput preset for CHM generation

Adobe RoboHelp 2020 Trial Version:
The list of available output presets is also missing Responsive HTML5, and Mobile App.
I did have a problem with the PDF output geneation. Error message advised to install Java runtime, as it was missing. After Java installation, PDF genearated. But its bookmarks did not work at all.
I have worked laboriously at learning how to use the RoboHelp; and also took several days to create my project. I desperately need to generate CHM output for a Windows program that I developed. I was devastated when I finally went to generate CHM output/Microsoft HTML Help, it was not on thelist of presets.
That said, I am at wits end, having searched for potential solutions. Can someone please suggest a solution?
Also the Adobe RoboHelp 2020 Trial Version contains the functionality to generate CHM help files.
To add and output the Microsoft HTML Help (CHM) in your presets, click the + icon in the Outputs panel as shown in the screenshot below.
Select Type Microsoft HTML Help
Enter a short Name like CHM
After that it is available for permanent use, e.g. in the Quick Generate window.
I updated RH 2020.
I selected the Microsoft HTML Help preset
I configured the preset: I selected the TOC file. I specified the output folder, which is on a different drive than the project folder. (I knew that it could not be in the location whose parent folder was the project folder.)
Then I clicked the command button to generate the CHM. The progress display continuously indicated the various task that were being performed during the generation process.
Ultimately, I clicked the View Output button. The program displayed an error message indicating that the CHM filed could not be opened. I checked the output designation folder; and, the file existed. However, it was only 1 KB. I double-clicked the CHM file; but, the same error message appeared as when I attempted to open the file from within RoboHelp.
As an aside, I tried he same process with RoboHelp’s sample project, i.e., Compass Travel. And, wouldn’t you know it? The CHM file did properly generate and display; even the bookmarks functioned as expected.
That said, I had mentioned in the original post that I had generated a PDF output. But, the bookmarks did not worked.
Clarification:
The H 1 bookmarks display. However, clicking anyone of the them results in nothing. Whereas most of the H 1 folders have several H 2 subfolders; and there existed two H-3 level items.

Can a 'linked'-file be renamed programatically via an Extension

I've written an Extension that, among many other things, renames files based on the Types they contain.
This works fine for files in the directory-tree under the csproj-file -- I find the ProjectItem entry for the file and change its name.
For 'linked'-files (those not in the directory-tree) I can rename the file (via File.Move()) but haven't found a way to programatically modify the csproj-file (after the rename the csproj-file has to be modified manually).
If this is something that can be done I'd appreciate a pointer to the docs showing how to implement the functionality.
The easiest solution for me was to modify the csproj-file.
Open, read whole file, close.
Verify that file I want to rename (e.g. xxx.cs) only occurs in 1 directory
(if it occurs in multiple directories the change has to be done manually.)
Make change
Open, write whole file, close
For an SDK project the change is applied immediately.
For a non-SDK project the change is applied after responding to the prompt that the csproj-file has been modified.

R Working Directory "cannot change"

Working Direcotry Cannot Change It's saying that there's an error in my code but I've tried it multiple times with countless variations on the code (I wiped my past attempts sorry) and it refuses to change the working directory. It won't change to other things either so it's not just this folder. What's the issue?
This probably means that the directory you want to change to does not exist. From the image I think you are using Windows, in which case the proper path to the directory would look like this:
setwd("C:/Users/$USER$/Desktop/r-novice-inflammation"
Change the $USER$ to your own username and it should work.
Paths always start with the letter of the hard drive in Windows. The easiest way to find the proper path to a directory is, in my opinion, to right click on the folder and look for the "Location" in properties. The IDE RStudio has a menu which you can use to change the working directory, which may be easier than using vanilla R.
The exception is setwd("~") which links to the Documents folder of your current user (i.e. C:/Users/$USER$/Documents). Based on the comments I realised that other commands such as setwd("..") (i.e. one folder up in the hierarchy) can be combined with ~ which explains what you are doing. In this case the following works for me:
setwd("~/../Desktop/")

Ado Brackets Efficient File Finder

Is there anyway Adobe Brackets Editor find a file as fast as typing a filename and avoid going through the sidebar? Much like finding a text with ctrl-f?
As others have mentioned – use Navigate > Quick Open, which you can also access via the shortcut Ctrl-Shift-O.
Quick Open is very powerful: you can type just an abbreviation or parts of a filename to find it with less typing. For example, typing "fbu" or "fooutil" will find "FooBarUtils.js".
Edit:
to answer the question about scope... Quick Open searches in your entire project. Brackets treats the root folder you have open (the root of the folder tree you see at left) as your project. To choose a folder, choose File > Open Folder.
There's no way to restrict Quick Open to just a subfolder within that project, but you can type part of a folder name and Quick Open will factor that into the search results. For example, typing "foo/bar" or even "fbar" will list "foo/bar.js" or "foo/xyz/bar.js" higher in the results. This is useful if you have many files with similar names within your project.

Find and replace in selection or single file - Xcode 4.5

I'm stuck with a bit of an Xcode puzzle: how can I find and replace either in a selection I've made, or at least just in a single file?
According to the following topic there's a way to hold down the option key and Replace All should change to Replace in Selection:
How can I find and replace inside a selection in Xcode?
This either doesn't happen in Xcode 4.5, or I don't know how to do it. Right now I can bring up the find/replace option in the search navigator on the left, then hit return to search, or hit preview to bring up which files are to be changed.
As a workaround, I can search in a selected group (by right-clicking on a group in the file navigator), but being able to replace in a selection I've made, and in a single file would be extremely helpful.
Thanks in advance ;-)
In Xcode 4.6 (I don't have 4.5 on my system any more to check it), if you are in the editor window and press Cmd-F to bring up the Find view at the top of the editor (as opposed to the global search inspector you are referring to), and use the Replace option in it, holding down the Option key changes "Replace All" to "In Selection". This seems reasonable since the global search inspector is across multiple files while the option to choose "In Selection" really only makes sense when you are referring to a single file.

Resources