RAML Suggestions (beta)
This module provides auto-completion suggestions for RAML. See http://raml.org for more information about RAML.
IEditorStateProvider interface to create editor state provider
getTextmethod should return text of the document opened in the editor
getPathmethod should return full path to the document opened in the editor
getBaseNamemethod should return file name of the document opened in the editor
getOffsetmethod should return editor cursor offset
IFSProvider interface to create File System data provider.
contentDirNamemethod should return directory name of the file, opened in the specific editor
dirNamemethod should directory name by full path
existsmethod should check whether an item exists by full path
resolvemethod should resolves one path against another
isDirectorymethod should check whether the path points to a directory
readDirmethod should return return directory content list
suggestDefault method to get default suggestions list using default providers or call
suggest method taking
IFSProvider as arguments.
Suggestions are categorized (optional field "category" in suggestion) as described in "resources/categories.json" file.