Skip to content

Commit 6dba02a

Browse files
committed
chore: format
1 parent 86b7b0d commit 6dba02a

File tree

1 file changed

+17
-6
lines changed

1 file changed

+17
-6
lines changed

lib/datatip-manager.ts

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
11
// @ts-check
22

3-
import { CompositeDisposable, Disposable, Range, Point, TextEditor, TextEditorElement, CommandEvent, CursorPositionChangedEvent } from "atom"
3+
import {
4+
CompositeDisposable,
5+
Disposable,
6+
Range,
7+
Point,
8+
TextEditor,
9+
TextEditorElement,
10+
CommandEvent,
11+
CursorPositionChangedEvent,
12+
} from "atom"
413
import type { Datatip, DatatipProvider } from "atom-ide-base"
514
import { ViewContainer } from "atom-ide-base/commons-ui/float-pane/ViewContainer"
615
import { ProviderRegistry } from "atom-ide-base/commons-atom/ProviderRegistry"
@@ -328,10 +337,7 @@ export class DataTipManager {
328337
* @param evt the original event triggering this data tip evaluation
329338
* @return a promise object to track the asynchronous operation
330339
*/
331-
async showDataTip(
332-
editor: TextEditor,
333-
position: Point,
334-
): Promise<void> {
340+
async showDataTip(editor: TextEditor, position: Point): Promise<void> {
335341
try {
336342
let datatip: Datatip | null = null
337343
for (const provider of this.providerRegistry.getAllProvidersForEditor(editor)) {
@@ -424,7 +430,12 @@ export class DataTipManager {
424430
* @param view the data tip component to display
425431
* @return a composite object to release references at a later stage
426432
*/
427-
mountDataTipWithMarker(editor: TextEditor, range: Range, position: Point, view: ViewContainer): CompositeDisposable | null {
433+
mountDataTipWithMarker(
434+
editor: TextEditor,
435+
range: Range,
436+
position: Point,
437+
view: ViewContainer
438+
): CompositeDisposable | null {
428439
// TODO do we need this?
429440
if (!view.element) {
430441
// if the element is not created return right away

0 commit comments

Comments
 (0)