Skip to content

Commit a74e4fe

Browse files
author
Benjamin Pasero
committed
Merge branch 'master' into ben/next
2 parents ada12c7 + a777305 commit a74e4fe

13 files changed

Lines changed: 68 additions & 41 deletions

File tree

extensions/ruby/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"languages": [{
1010
"id": "ruby",
1111
"extensions": [ ".rb", ".rbx", ".rjs", ".gemspec", ".rake", ".ru" ],
12-
"filenames": [ "rakefile", "gemfile", "guardfile" ],
12+
"filenames": [ "rakefile", "gemfile", "guardfile", "podfile" ],
1313
"aliases": [ "Ruby", "rb" ],
1414
"firstLine": "^#!/.*\\bruby\\b",
1515
"configuration": "./language-configuration.json"

extensions/typescript/package.json

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,42 @@
285285
"category": "JavaScript"
286286
}
287287
],
288+
"menus": {
289+
"commandPalette": [
290+
{
291+
"command": "typescript.reloadProjects",
292+
"when": "editorLangId == 'typescript'"
293+
},
294+
{
295+
"command": "typescript.reloadProjects",
296+
"when": "editorLangId == typescriptreact"
297+
},
298+
{
299+
"command": "javascript.reloadProjects",
300+
"when": "editorLangId == 'javascript'"
301+
},
302+
{
303+
"command": "javascript.reloadProjects",
304+
"when": "editorLangId == javascriptreact"
305+
},
306+
{
307+
"command": "typescript.goToProjectConfig",
308+
"when": "editorLangId == 'typescript'"
309+
},
310+
{
311+
"command": "typescript.goToProjectConfig",
312+
"when": "editorLangId == typescriptreact"
313+
},
314+
{
315+
"command": "javascript.goToProjectConfig",
316+
"when": "editorLangId == 'javascript'"
317+
},
318+
{
319+
"command": "javascript.goToProjectConfig",
320+
"when": "editorLangId == javascriptreact"
321+
}
322+
]
323+
},
288324
"breakpoints": [
289325
{
290326
"language": "typescript"

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "code-oss-dev",
3-
"version": "1.10.0",
3+
"version": "1.11.0",
44
"electronVersion": "1.4.6",
55
"distro": "3b22b6005c2104726ccc5b2aebb204df983df07e",
66
"author": {

resources/linux/debian/control.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Package: @@NAME@@
22
Version: @@VERSION@@
33
Section: devel
4-
Depends: libnotify4, libnss3
4+
Depends: libnotify4, libnss3, gnupg, apt
55
Priority: optional
66
Architecture: @@ARCHITECTURE@@
77
Maintainer: Microsoft Corporation <vscode-linux@microsoft.com>

src/tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
"experimentalDecorators": true,
1111
"declaration": true,
1212
"noImplicitReturns": true,
13+
"baseUrl": ".",
1314
"typeRoots": [
1415
"typings",
1516
"../node_modules/@types"

src/vs/workbench/parts/extensions/browser/extensionEditor.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -319,8 +319,7 @@ export class ExtensionEditor extends BaseEditor {
319319
.then<void>(body => {
320320
const webview = new WebView(
321321
this.content,
322-
document.querySelector('.monaco-editor-background'),
323-
{ nodeintegration: false }
322+
document.querySelector('.monaco-editor-background')
324323
);
325324

326325
webview.style(this.themeService.getColorTheme());

src/vs/workbench/parts/html/browser/htmlEditorZone.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class HtmlZone implements IViewZone {
4141

4242
private _onVisibilityChanged(): void {
4343
if (this._domNode.hasAttribute('monaco-visible-view-zone') && !this._webview) {
44-
this._webview = new Webview(this.domNode, document.querySelector('.monaco-editor-background'), { nodeintegration: true });
44+
this._webview = new Webview(this.domNode, document.querySelector('.monaco-editor-background'));
4545
this._disposables.push(this._webview);
4646
this._webview.contents = [this.htmlContent];
4747
}

src/vs/workbench/parts/html/browser/htmlPreviewPart.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ export class HtmlPreviewPart extends BaseEditor {
8181

8282
private get webview(): Webview {
8383
if (!this._webview) {
84-
this._webview = new Webview(this._container, document.querySelector('.monaco-editor-background'), { nodeintegration: true });
84+
this._webview = new Webview(this._container, document.querySelector('.monaco-editor-background'));
8585
this._webview.baseUrl = this._baseUrl && this._baseUrl.toString(true);
8686

8787
this._webviewDisposables = [

src/vs/workbench/parts/html/browser/webview.ts

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ import { IColorTheme } from 'vs/workbench/services/themes/common/themeService';
1818
declare interface WebviewElement extends HTMLElement {
1919
src: string;
2020
autoSize: 'on';
21-
nodeintegration: 'on';
2221
preload: string;
2322

2423
send(channel: string, ...args: any[]);
@@ -43,10 +42,6 @@ MenuRegistry.addCommand({
4342

4443
type ApiThemeClassName = 'vscode-light' | 'vscode-dark' | 'vscode-high-contrast';
4544

46-
export interface WebviewOptions {
47-
nodeintegration: boolean;
48-
}
49-
5045
export default class Webview {
5146

5247
private _webview: WebviewElement;
@@ -55,17 +50,14 @@ export default class Webview {
5550
private _onDidClickLink = new Emitter<URI>();
5651
private _onDidLoadContent = new Emitter<{ stats: any }>();
5752

58-
constructor(parent: HTMLElement, private _styleElement: Element, options: WebviewOptions) {
53+
constructor(parent: HTMLElement, private _styleElement: Element) {
5954
this._webview = <any>document.createElement('webview');
6055

6156
this._webview.style.width = '100%';
6257
this._webview.style.height = '100%';
6358
this._webview.style.outline = '0';
6459
this._webview.style.opacity = '0';
6560
this._webview.autoSize = 'on';
66-
if (options.nodeintegration) {
67-
this._webview.nodeintegration = 'on';
68-
}
6961

7062
this._webview.preload = require.toUrl('./webview-pre.js');
7163
this._webview.src = require.toUrl('./webview.html');

src/vs/workbench/parts/terminal/electron-browser/terminal.contribution.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import { ToggleTabFocusModeAction } from 'vs/editor/contrib/toggleTabFocusMode/c
2525
import { registerSingleton } from 'vs/platform/instantiation/common/extensions';
2626
import debugActions = require('vs/workbench/parts/debug/browser/debugActions');
2727
import { KeybindingsRegistry } from 'vs/platform/keybinding/common/keybindingsRegistry';
28-
import { OpenNextRecentlyUsedEditorInGroupAction, OpenPreviousRecentlyUsedEditorInGroupAction } from 'vs/workbench/browser/parts/editor/editorActions';
28+
import { OpenNextRecentlyUsedEditorInGroupAction, OpenPreviousRecentlyUsedEditorInGroupAction, FocusActiveGroupAction } from 'vs/workbench/browser/parts/editor/editorActions';
2929
import { DefaultConfig } from 'vs/editor/common/config/defaultConfig';
3030

3131
let configurationRegistry = <IConfigurationRegistry>Registry.as(Extensions.Configuration);
@@ -137,6 +137,7 @@ configurationRegistry.registerConfiguration({
137137
},
138138
'default': [
139139
ToggleTabFocusModeAction.ID,
140+
FocusActiveGroupAction.ID,
140141
GlobalQuickOpenAction.ID,
141142
ShowAllCommandsAction.ID,
142143
CreateNewTerminalAction.ID,
@@ -170,6 +171,7 @@ configurationRegistry.registerConfiguration({
170171
debugActions.RunAction.ID,
171172
debugActions.RestartAction.ID,
172173
debugActions.ContinueAction.ID,
174+
debugActions.PauseAction.ID,
173175
OpenNextRecentlyUsedEditorInGroupAction.ID,
174176
OpenPreviousRecentlyUsedEditorInGroupAction.ID
175177

0 commit comments

Comments
 (0)