openFile method

Future<BridgeResponse> openFile(
  1. String filePath, {
  2. int? line,
  3. int? column,
  4. bool focusEditor = true,
})

Open a file in the editor.

Implementation

Future<BridgeResponse> openFile(
  String filePath, {
  int? line,
  int? column,
  bool focusEditor = true,
}) {
  return _protocol.sendRequest('jetbrains/openFile', {
    'filePath': filePath,
    'line': ?line,
    'column': ?column,
    'focusEditor': focusEditor,
  });
}