ce7f934c66
Now, hovering over an attribute on an element will provide information about the directive that attribute matches in the element, if any. (More generally, we return information about directive symbols matched on an element attribute.) I believe this is similar to how the indexer provides this kind of information, though more precise in the sense that this commit provides directive information only if the directive selector exactly matches the attribute selector. In another sense, this is a limitation. In fact, there are the limitations of: - Directives matched on the element, but with a selector of anything more than the attribute (e.g. `div[string-model]` or `[string-model][other-attr]`) will not be returned as symbols matching on the attribute. - Only one symbol can be returned currently. If the attribute matches multiple directives, only one directive symbol will be returned. Furthermore, we cannot say that the directive symbol returned is determinstic. Resolution of these limitations can be discussed in the future. At least the second limitation should be very easy to fixup in a future commit. This relies solely on the template compiler and is agnostic to any Ivy changes, so this is strictly a feature enhancement that will not have to be refactored when we migrate the language service to Ivy. PR Close #33127 |
||
---|---|---|
.circleci | ||
.devcontainer | ||
.github | ||
.vscode | ||
aio | ||
docs | ||
integration | ||
modules | ||
packages | ||
scripts | ||
third_party | ||
tools | ||
.bazelignore | ||
.bazelrc | ||
.clang-format | ||
.editorconfig | ||
.gitattributes | ||
.gitignore | ||
.mailmap | ||
.nvmrc | ||
BUILD.bazel | ||
CHANGELOG.md | ||
CODE_OF_CONDUCT.md | ||
CONTRIBUTING.md | ||
LICENSE | ||
README.md | ||
WORKSPACE | ||
browser-providers.conf.js | ||
gulpfile.js | ||
karma-js.conf.js | ||
package.json | ||
protractor-perf.conf.js | ||
renovate.json | ||
shims_for_IE.js | ||
test-events.js | ||
test-main.js | ||
tslint.json | ||
yarn.lock | ||
yarn.lock.readme.md |
README.md
Angular
Angular is a development platform for building mobile and desktop web applications using TypeScript/JavaScript and other languages.
Quickstart
Changelog
Learn about the latest improvements.
Want to help?
Want to file a bug, contribute some code, or improve documentation? Excellent! Read up on our guidelines for contributing and then check out one of our issues in the hotlist: community-help.