diff options
author | Tor Norbye <tnorbye@google.com> | 2011-03-14 21:15:57 -0700 |
---|---|---|
committer | Tor Norbye <tnorbye@google.com> | 2011-03-17 13:30:26 -0700 |
commit | fafa79f3931bb8b396900e3a43ac4294195f83b4 (patch) | |
tree | 246ea51f7f091840d3e03cb7e3720ab195f32d7e /eclipse/dictionary.txt | |
parent | 705dc5ca1d430be514fddcdb729d52fd7110f37a (diff) | |
download | sdk-fafa79f3931bb8b396900e3a43ac4294195f83b4.zip sdk-fafa79f3931bb8b396900e3a43ac4294195f83b4.tar.gz sdk-fafa79f3931bb8b396900e3a43ac4294195f83b4.tar.bz2 |
Add Quickfix and Quick Assistant for creating resources
This changeset adds two related features:
- A "marker resolution" which adds a quickfix to aapt errors for
nonexistent resources. This means that you can right click on the
error in the Problems view to create the associated missing
resource.
- A "quick assistant" which looks for a missing resource on the
current line and if found adds a fix handler for it, similar to the
quickfix above.
When a fix is invoked, it will create the new file or value, and open
it in the editor with the relevant value section selected.
The quick assistant can be invoked by the normal Ctrl-1 (Cmd-1). The
quickfix must be invoked from the Problems view; the Java editor seems
to add an extra level of integration with a lightbulb in the editor
margin but we don't get that in XML.
The quickfixes work for all value-based resources, as well as some
file-based ones (in particular, those supported by the New XML File
wizard, which it reuses.)
This changeset also adds unit tests for quickfixes along with a few
infrastructure changes to support it.
Change-Id: I962bcf6c98934685e4d74389469d0903115a75e3
Diffstat (limited to 'eclipse/dictionary.txt')
-rw-r--r-- | eclipse/dictionary.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/eclipse/dictionary.txt b/eclipse/dictionary.txt index b9ccb29..5ec965c 100644 --- a/eclipse/dictionary.txt +++ b/eclipse/dictionary.txt @@ -84,6 +84,7 @@ gen groovy guava hardcoded +hardcodes hotfix href http @@ -140,6 +141,7 @@ pings placeholder plugin popup +popups pre precompiler pref |