forked from pleonex/atom-autocomplete-xml
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
17 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,19 @@ | ||
# Autocomplete XML Atom Package | ||
**Note:** This is an alpha version. It is **not** fully implemented. | ||
**Note: This is an alpha version. It is not fully implemented.** | ||
|
||
XML tag and attribe autocompletions in Atom. Install [autocomplete-plus](https://github.com/atom-community/autocomplete-plus) before installing this package. | ||
XML tag autocompletion for Atom text editor! | ||
|
||
![Demo](demo.gif) | ||
|
||
# Features | ||
* Download and parse XSD files (at the moment only ComplexTypes). | ||
* Show autocompletation for tags with documentation if available. | ||
|
||
# Code structure | ||
The package code is inside the *lib* folder. | ||
|
||
* *lib* | ||
* **main.coffee**: Main package file. It handles package things like calling the provider and settings. | ||
* **provider.coffee**: Detects the type of suggestion needed (e.g.: tag, attribute, ...) and ask for suggestions of that type. It handles everything related with the editor. | ||
* **xsd.coffee**: Manage the XSD types. Create suggestions. It handles suggestion creation. | ||
* **xsdParser.coffee**: Download and parse a XSD file and build the types. It handles XSD parsing. |