eric7.RemoteServerInterface.EricServerEditorConfigInterface

Module implementing the Editor Config interface to the eric-ide server.

Global Attributes

None

Classes

EricServerEditorConfigInterface Class implementing the Editor Config interface to the eric-ide server.

Functions

None


EricServerEditorConfigInterface

Class implementing the Editor Config interface to the eric-ide server.

Derived from

QObject

Class Attributes

None

Class Methods

None

Methods

EricServerEditorConfigInterface Constructor
callback Function to handle the server reply
loadEditorConfig Public method to load the editor config for the given file.

Static Methods

None

EricServerEditorConfigInterface (Constructor)

EricServerEditorConfigInterface(serverInterface)

Constructor

serverInterface (EricServerInterface)
reference to the eric-ide server interface

EricServerEditorConfigInterface.callback

callback(params)

Function to handle the server reply

reply (str)
name of the server reply
params (dict)
dictionary containing the reply data

EricServerEditorConfigInterface.loadEditorConfig

loadEditorConfig(filename)

Public method to load the editor config for the given file.

filename (str)
name of the file to get the editor config for
Return:
dictionary containing the editor config data
Return Type:
dict
Raises editorconfig.EditorConfigError:
raised to indicate an issue loading the editor config
Up