JeremyYao commented on code in PR #1495: URL: https://github.com/apache/daffodil-vscode/pull/1495#discussion_r2670459568
########## src/language/intellisense-development.md: ########## @@ -0,0 +1,169 @@ +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + +# Intellisense + +This document contains an overview of how intellisense works as well as a general view of the architecture of the code. + +## Table of Contents + +- [Intellisense](#intellisense) + - [Table of Contents](#table-of-contents) + - [General Intellisense Concepts](#general-intellisense-concepts) + - [Providers](#providers) + - [Registration](#registration) + - [DFDL](#dfdl) + - [High-level dfdl Intellisense Overview](#high-level-dfdl-intellisense-overview) + - [Provider Registration (Start Here)](#provider-registration-start-here) + - [Provider Implementation Locations](#provider-implementation-locations) + - [Helpers + Vocabulary](#helpers-vocabulary) + - [Context Parsing](#context-parsing) + - [Namespace / Prefix Handling](#namespace-prefix-handling) + - [Completions Construction](#completions-construction) + - [Hover / Documentation](#hover-documentation) + - [Testing](#testing) + - [Individual File Deep-Dives](#individual-file-deep-dives) + - [src/language/dfdl.ts](#srclanguagedfdlts) + - [TDML](#tdml) + +### General Intellisense Concepts + +#### Providers + +Providers in the VS Code API are extension points that let you plug specific language or editor features into the editor’s pipeline (e.g., completions, hovers, formatting). Proviers are implemented and then registered in the code which gets then gets called depending on the situation the provider activates. Review Comment: Good catch! Addressed -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
