Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -618,11 +618,6 @@ export const ESQLEditor = memo(function ESQLEditor({

const hoverProvider = useMemo(() => ESQLLang.getHoverProvider?.(esqlCallbacks), [esqlCallbacks]);

const codeActionProvider = useMemo(
() => ESQLLang.getCodeActionProvider?.(esqlCallbacks),
[esqlCallbacks]
);

const onErrorClick = useCallback(({ startLineNumber, startColumn }: MonacoMessage) => {
if (!editor1.current) {
return;
Expand Down Expand Up @@ -770,7 +765,6 @@ export const ESQLEditor = memo(function ESQLEditor({
return hoverProvider?.provideHover(model, position, token);
},
}}
codeActions={codeActionProvider}
onChange={onQueryUpdate}
editorDidMount={(editor) => {
editor1.current = editor;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,9 @@ export const getEditorOverwrites = (theme: UseEuiTheme<{}>) => {
.monaco-hover {
display: block !important;
}
.hover-row.status-bar {
display: none;
}
.margin-view-overlays .line-numbers {
color: ${theme.euiTheme.colors.textDisabled};
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ The package is structure as follow:
```
src
| autocomplete // => the autocomplete/suggest service logic
| code_actions // => the quick fixes service logic
| definitions // => static assets to define all components behaviour of a ES|QL query: commands, functions, etc...
| validation // => the validation logic

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
*/

export type { SuggestionRawDefinition, ItemKind } from './src/autocomplete/types';
export type { CodeAction } from './src/code_actions/types';
export type {
FunctionDefinition,
CommandDefinition,
Expand All @@ -28,9 +27,6 @@ export { getAstContext } from './src/shared/context';
export { validateQuery } from './src/validation/validation';
// Autocomplete function
export { suggest } from './src/autocomplete/autocomplete';
// Quick fixes function
export { getActions } from './src/code_actions/actions';

/**
* Some utility functions that can be useful to build more feature
* for the ES|QL language
Expand Down Expand Up @@ -76,6 +72,4 @@ export {
getSourcesHelper,
} from './src/shared/resources_helpers';

export { wrapAsEditorMessage } from './src/code_actions/utils';

export { getRecommendedQueries } from './src/autocomplete/recommended_queries/templates';
Loading