mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-18 15:55:59 +01:00
Adopt standard style imports in php extension (#169192)
This commit is contained in:
@@ -4,8 +4,8 @@
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
|
||||
import { CompletionItemProvider, CompletionItem, CompletionItemKind, CancellationToken, TextDocument, Position, Range, TextEdit, workspace, CompletionContext } from 'vscode';
|
||||
import phpGlobals = require('./phpGlobals');
|
||||
import phpGlobalFunctions = require('./phpGlobalFunctions');
|
||||
import * as phpGlobals from './phpGlobals';
|
||||
import * as phpGlobalFunctions from './phpGlobalFunctions';
|
||||
|
||||
export default class PHPCompletionItemProvider implements CompletionItemProvider {
|
||||
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
|
||||
import { HoverProvider, Hover, MarkedString, TextDocument, CancellationToken, Position, workspace } from 'vscode';
|
||||
import { textToMarkedString } from './utils/markedTextUtil';
|
||||
import phpGlobals = require('./phpGlobals');
|
||||
import phpGlobalFunctions = require('./phpGlobalFunctions');
|
||||
import * as phpGlobals from './phpGlobals';
|
||||
import * as phpGlobalFunctions from './phpGlobalFunctions';
|
||||
|
||||
export default class PHPHoverProvider implements HoverProvider {
|
||||
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
|
||||
import { SignatureHelpProvider, SignatureHelp, SignatureInformation, CancellationToken, TextDocument, Position, workspace } from 'vscode';
|
||||
import phpGlobals = require('./phpGlobals');
|
||||
import phpGlobalFunctions = require('./phpGlobalFunctions');
|
||||
import * as phpGlobals from './phpGlobals';
|
||||
import * as phpGlobalFunctions from './phpGlobalFunctions';
|
||||
|
||||
const _NL = '\n'.charCodeAt(0);
|
||||
const _TAB = '\t'.charCodeAt(0);
|
||||
|
||||
Reference in New Issue
Block a user