TargetManager
Object Hierarchy:
Description:
[ Version ( since = "0.16.0" ) ]
public interface TargetManager : Object
A target to be built in a project
Content:
Properties:
Methods:
- public abstract Target add_target (string target, ListModel? files = null)
Creates a new target with given, if any, list of files.
- public abstract Target add_target_configuration (string target, TargetConfiguration conf)
Creates a new target, add it and setup with the given configuration
- public abstract Target add_target_for_file (File file)
Creates a target with just one file
- public abstract void apply_configuration () throws Error
Apply meson configuration
- public virtual async void create_completion_cache (string name, CompletionList list)
Query cache for completions
- public abstract void create_completion_cache_sync (string name, CompletionList list)
Query cache for completions, synchronically
- public virtual async CompletionList query_completion_cache (string name)
Query cache for completions
- public abstract CompletionList query_completion_cache_sync (string name)
Query cache for completions, synchronically
- public abstract async CompletionList query_completion_list (string str) throws Error
- public abstract async CompletionList query_completion_list_at (string uri, Position pos) throws Error
- public abstract async string query_documentation (string str) throws Error
Query a documentation string using given string to find a symbol in,
if present, the GVls.SymbolDbProvider
- public abstract async Hover query_hover (string str) throws Error
Query a GVls.Hover
list using given string to find a symbol and its hover description, including its documentation from, if present, the
GVls.SymbolDbProvider
- public abstract void remove_target_for_file (string uri)
Removes a Target
using the given file's URI
- public abstract void reset ()
Reset configuration and targets
- public virtual async Symbol? resolve_symbol (string name)
Looks at the given
GVls.Position at given file at given URI, to resolve a symbol.
- public virtual async Symbol? resolve_symbol_position (string uri, Position position)
Looks at the given
GVls.Position at given file at given URI, to resolve a symbol.
- public virtual Symbol? resolve_symbol_position_sync (string uri, Position position)
Looks at the given
GVls.Position at given file at given URI, to resolve a symbol.
- public virtual async Symbol? resolve_symbol_position_word (string word, string uri, Position position)
Looks at the given
GVls.Position at given file at given URI, to resolve a symbol.
- public virtual Symbol? resolve_symbol_position_word_sync (string word, string uri, Position position)
Looks at the given
GVls.Position at given file at given URI, to resolve a symbol.
- public virtual Symbol? resolve_symbol_sync (string name)
Looks at the given
GVls.Position at given file at given URI, to resolve a symbol.
- public virtual async void run_diagnostics () throws Error
- public virtual void run_diagnostics_sync () throws Error
- public virtual Container symbol_references (string uri, Position position)
Search all symbol's references with the given name
- public virtual Target? target_by_file (File file)
Search a target requiring the given GLib.File
- public virtual Target? target_by_name (string name)
Search a target with the given name
- public virtual Target? target_by_uri (string uri)
- public virtual async void update_cache () throws Error
Query cache for completions
- public abstract void update_cache_sync () throws Error
Query cache for completions, synchronically
Signals:
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