ProjectManager
Object Hierarchy:
Description:
public class ProjectManager : Object
Project manager to create sourceview
Content:
Properties:
- public ProjectManager manager { get; }
Project manager
Creation methods:
Methods:
- public List<SourceCompletionProposal> completion_items (string uri, string symbol)
Calculate completion items for a given symbol's name at a given file's
URI. If no completions are cached for symbol a new request is started to the server.
- public async List<SourceCompletionProposal> completion_items_at (string uri, SourcePosition pos, SourceView view) throws Error
Find a word at given position in a Gtk.TextBuffer
associated to a given Gtk.SourceView and calculates a cached completion list as
Gtk.SourceCompletionProposal items.
- public SourceView create_source_view (File file)
- public Container get_document_symbols (string uri)
Find stored document symbols for given uri
- public void open (SourceView view, File file)
Takes a given Gtk.SourceView fill it with
the contents of given file and sync the server buffers
- public void open_document (SourceView view)
Takes a given Gtk.SourceView's buffer text
and use it as a file contents already loaded to sync the server buffers.
- public void remove_completion (SourceView view, string uri, string symbol)
For the given symbol's name, removes cached of
Gtk.SourceCompletionProposal items for a given Gtk.SourceView and file's URI
- public void remove_completions (SourceView view, string uri)
Clean up cached of
Gtk.SourceCompletionProposal items for a given Gtk.SourceView and file's URI
- public async Container? request_completion_items (string uri, string symbol) throws Error
Request to the server a completion list for a given symbol's name in
order to update the cache
- public async Container request_document_symbols (string uri) throws Error
Updates document symbols for a given uri from server
- public async SymbolInformation? request_symbol (string name) throws Error
Query a symbol based on its name.
- public void server_autoconfigure (bool auto)
Enable server autoconfigure by default
- public void set_completion_provider (SourceView view, File file)
- public async void update_completions_for_symbols (SourceView view, string uri) throws Error
Update cache of Gtk.SourceCompletionProposal
items for a given Gtk.SourceView and file's URI.
Inherited Members:
All known members inherited from class GLib.Object
- @get
- @new
- @ref
- @set
- add_toggle_ref
- add_weak_pointer
- bind_property
- connect
- constructed
- disconnect
- dispose
- dup_data
- dup_qdata
- force_floating
- freeze_notify
- get_class
- get_data
- get_property
- get_qdata
- get_type
- getv
- interface_find_property
- interface_install_property
- interface_list_properties
- is_floating
- new_valist
- new_with_properties
- newv
- notify
- notify_property
- ref_count
- ref_sink
- remove_toggle_ref
- remove_weak_pointer
- replace_data
- replace_qdata
- set_data
- set_data_full
- set_property
- set_qdata
- set_qdata_full
- set_valist
- setv
- steal_data
- steal_qdata
- thaw_notify
- unref
- watch_closure
- weak_ref
- weak_unref