text:
type error of React.createElement(React.ComponentClass | React.StatelessComponent)

TypeScript Version:  2.2.2
Code
// no compilation error as expected.
function foo1(child: React.ComponentClass<{ name: string }>) {
    React.createElement(child, { name: "bar" });
}

// no compilation error as expected.
function foo2(child: React.StatelessComponent<{ name: string }>) {
    React.createElement(child, { name: "bar" });
}

// compilation error.
function foo3(child: React.ComponentClass<{ name: string }> | React.StatelessComponent<{ name: string }>) {
    React.createElement(child, { name: "bar" });
}

Expected behavior:
no compilation error.
Actual behavior:
error TS2345: Argument of type 'ComponentClass<{ name: string; }> | StatelessComponent<{ name: string; }>' is
not assignable to parameter of type 'ComponentClass<{ name: string; }>'.
  Type 'StatelessComponent<{ name: string; }>' is not assignable to type 'ComponentClass<{ name: string; }>'.
    Type 'StatelessComponent<{ name: string; }>' provides no match for the signature 'new (props?: { name: string; }, contex
t?: any): Component<{ name: string; }, ComponentState>'

update:
I investigated react lib for a while, adding this should fix the problem:
function createElement<P>(
        type: SFC<P> | ComponentClass<P>,
        props?: Attributes & P,
        ...children: ReactNode[]): SFCElement<P> | ReactElement<P>;

It is not a react lib problem
function foo(name: string): void;
function foo(name: number): void;
function foo() {}

function bar(name: string | number) {
    foo(name);
// Argument of type 'string | number' is not assignable to parameter of type 'number'.
//  Type 'string' is not assignable to type 'number'.
}

You just need cast child to React.ComponentClass<{ name: string }>
React.createElement(child as React.ComponentClass<{ name: string }>, { name: "bar" });

@cevek Thanks, that helps.
According to https://facebook.github.io/react/docs/react-api.html#createelement

The type argument can be either a tag name string (such as 'div' or 'span'), or a React component type (a class or a function).
maybe something like this is better:

function foo(name: string): void;
function foo(name: number): void;
function foo(name: string | number): void;

function bar(name: string | number) {
    foo(name);
}

anyway, feel free to close this issue, if not plan to change.

This is definitely a bug in the way that it's causing compile issues for completely valid strings, such as "span" being passed into createElement. Should not have to cast things for it to accept them.
This very valid code fails now, was working until I updated type defs React.createElement("span", {style: this.screenReaderStyles}, ariaLabel) : null,

This makes no sense to me. The documentation states it clearly supports strings.

+1

A change to the react declaration file should address the issue. for instance the last overload for createElement can be changed to:
    function createElement<P>(
        type: SFC<P> | ComponentClass<P>,
        props?: Attributes & P,
        ...children: ReactNode[]): ReactElement<P>;

Feel free to send a PR to https://github.com/DefinitelyTyped/DefinitelyTyped for this change.


text:
Can't use list export for interfaces with --declaration

TypeScript Version:  2.2.2
Code
function main( options: Options )
{
	console.log( options );
}

interface Options
{
	option: string;
}

export {
	main as default,
	Options,
};

{
	"compilerOptions": {
		"target": "es2015",
		"declaration": true
	},
	"files": [
		"index.ts"
	]
}

Expected behavior:
It should compile without errors.
Actual behavior:
index.ts(1,25): error TS4078: Parameter 'options' of exported function has or is using private name 'Options'.

But all works with this change:
function main( options: Options )
{
	console.log( options );
}

export interface Options
{
	option: string;
}

export {
	main as default,
};

It's the same code, but TypeScript can't recognise export of the interface in list. I want to see module interface in one place and I prefer to use list export.

Duplicate of https://github.com/Microsoft/TypeScript/issues/14753

source: gharchive/issue

authors: Avol-V mhegazy

repo: Microsoft/TypeScript

license_type: permissive

license_source: github-api


text:
Strange error with name's resolving

TypeScript Version:  2.4.0 / nightly (2.5.0-dev.201xxxxx)
Strange error that cause in VS Code. I have a folder with 2 files : foo.ts, foo2.ts.
In foo.ts there is a function Foo. The foo2.ts file contain function foo2 that called foo.
When I open the foo2.ts file only I have uresolved name 'Foo' error.
If I open the foo.ts file and back to foo2.ts file, the function 'Foo' is resolved as expected
Code
foo.ts
function Foo()
{

}

foo2.ts
function Foo2()
{
	Foo();
}

Expected behavior:
'Foo' function will be resolved
Actual behavior:
Error: Cannot find name 'Foo'

You have to either use import/export or specify tsconfig.json to resolve those names, otherwise they won't know where to find them (they'll know those names once you open that file).

I haven't any import\export, because these global functions and not a module, these files in one folder. Why VS Code can't resolve names without open them?

What do you have your module format set to?  It should be none if you are dealing with a global JS project, which is really questionable these days, but...
Also, these basic type of questions are better asked on Gitter or StackOverflow.

I agree about using of global JS, but this is legacy project. If that is The names are resolved as expected after adding the empty tsconfig.json

If you do not have a tsconfig.json file in your VS Code workspace, then we only know about:

Files open in the editor.
Files referenced via import or export declarations in files open in the editor.
Files referenced via /// <reference path="" /> directives in files open in the editor.

This is the intended behavior. If you need more control over which files are automatically type-checked in your workspace, please consider adding a tsconfig.json file to your workspace.

authors: ifle ikatyang kitsonk rbuckton


text:
Please support symlinks - (1) project X depends on Y at runtime, but not at compile time (2) project X depends on Y at compile time, but not at runtime

This issue regards having TS and tsc work with symlinks. I have a scenario where a project X depends on Y at runtime. But Y is not declared as a dependency in X's package.json, nor is it installed in the local node_modules directory.
I also have a use case where I want to import the types from project X into project Y for the purposes of static type checking, but I do not need project X at runtime. In both cases, I need tsc to support symlinks, so that tsc can see the types across symlinked projects. (I am mostly taking about symlinks generated by NPM link, but I suppose it could be any old symlinked project).
The quality of code and projects in the JS world largely depends on the quality of the code of the popular libraries in the JS world. A lot of libraries have interesting use cases that applications don't have, and even though the libraries comprise < 1% of the actual codebases out there, they are, let's say, 80% of the important code.
My point is that I see it as very important that TS and tsc support symlinked dependencies for the purposes of static type-checking, and this will mostly be library code. Currently it is my belief that it is not the case that tsc supports symlinks, but I really hope that you guys work to make it so.
Please correct me where I am wrong.

And https://github.com/Microsoft/TypeScript/pull/16661 is not sufficient?

Automatically closing this issue for housekeeping purposes. The issue labels indicate that it is unactionable at the moment or has already been addressed.

authors: ORESoftware mhegazy


text:
getRegistration in ServiceWorkerContainer's optional is missing from 2.6.1

In 2.5.2, getRegistration has an optional parameter clientURL?: USVString, which is missing from 2.6.1.
According to MDN, this parameter is optional.
https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerContainer/getRegistration
Maybe a coding miss in this diff: https://github.com/Microsoft/TypeScript/pull/18774/files#diff-46fd87925e4552c166ec188712741c3fL9534
TypeScript Version:  2.6.1
Code
Expected behavior:
clientURL should be acceptable.
Actual behavior:

PRs welcomed. You can find more information about contributing lib.d.ts fixes at https://github.com/Microsoft/TypeScript/blob/master/CONTRIBUTING.md#contributing-libdts-fixes.

I fixed it in Microsoft/TSJS-lib-generator.
Please check: https://github.com/Microsoft/TSJS-lib-generator/pull/323

authors: keekun mhegazy


text:
JSX elements not allowed to have comment trivia

<div>
</div>

Seems like this isn't getting parsed correctly.

> tsc .\file1.tsx --jsx preserve
file1.tsx(1,1): error TS1128: Declaration or statement expected.
file1.tsx(1,3): error TS1109: Expression expected.
file1.tsx(1,4): error TS1109: Expression expected.
file1.tsx(1,6): error TS1161: Unterminated regular expression literal.
file1.tsx(2,1): error TS1128: Declaration or statement expected.
file1.tsx(3,1): error TS1109: Expression expected.

i would say this is by desing. //CC: @RyanCavanaugh

It's supported by the online JSX compiler and Babel; we should maintain parity with them.

Problem was that we were seeing the </ and thinking it was the start of a closing tag. Fix is to check the next char for * when trying to produce a LessThanSlash token

authors: DanielRosenwasser RyanCavanaugh mhegazy


text:
Make variable declarations open ended

This used to be on codeplex and I cannot find a reference here.
https://typescript.codeplex.com/workitem/917
The problem is that I have project.d.ts and lets say that it has a Point class with simple {x,y} properties.
project-plugin-coolvector.d.ts might come along tomorrow, and that Plugin JS might add a z property to the existing Point class.
If project-plugin-coolvector.d.ts attempts to export a Point class with a z property. You get a duplicate error.  I looked at the JQuery plugins example on DT but project.d.ts must contain classes, since Point has a constructor.
I see no way of being able to support the direction of the project in this instance.

Proposal
If the following is declared:
declare class Foo  {
    static bar: any;
    bas():any;
}

It can be extended using another declaration:
// Amend Foo
declare class Foo  {
    static anotherStatic: any;
    anotherMember():any;
}

Issues
@danquirk

It would be helpful to understand why you need to have open ended classes and where open ended interfaces are insufficient.

Really for a convinient way to model classes. Currently one needs to rewrite the original definition to make it extensible. This is not simple to explain to someone brand new to TypeScript.
declare var Foo : FooStatic;
interface FooStatic { // Static properties
    new (): Foo;
    bar: any;
}
interface Foo{ // Instance properties
    bas():any;
}

// Amend Foo
interface FooStatic  {
   anotherStatic: any;
}
interface Foo{
    anotherMember():any;
}

+1 this is very frustrating to not have at the moment. Please please, need this.

:+1:

#2957 looks like it will cover the use case for open-ended classes

need!!!

+1

Been hitting my head up against this for a while. If we want the community to be able to share and depend on each others' d.ts files, then we will need to be able to extend them.

Looks like this was fixed with https://github.com/Microsoft/TypeScript/pull/3516 . I'm trying it now.

+1

+1

+100500

+1

+1

+1

+1

+1

Required for hapi, where plugins such as inert can add members to IRouteConfiguration.handler, as DefinitelyTyped would have it. To work around it, I'd have to do something like:
    const routeConfig: IRouteConfiguration = {
        path: '/',
        method: 'GET',
        handler: {
            // will cheat below to assign file:
        }
    };

    assign(routeConfig.handler, {
        file: {
            path: indexFile
        }
    });

    server.route(routeConfig);

Too much of this will maim TypeScript's advantage over JavaScript for this project.

Please consider adding this. Extending external JavaScript packages is very painful. Adding new methods to existing prototypes seems impossible. Extending them into new definitions is not practical, as you must then override them in every other case to become a new type. They quickly conflict and become incompatible and awkward to use. This is especially true of objects that "chain" and return themselves.
http://stackoverflow.com/questions/37505881/extending-typescript-declaration-files

@jocull this can be achieved using module augmentation today. see my response in  http://stackoverflow.com/questions/37505881/extending-typescript-declaration-files?answertab=votes#tab-top

+1

+1

Another library where this would be helpful is jspdf. It exports a class let doc = new jsPDF(). Third party plugins can be added and would be called like this doc.anExternalPlugin(). One example plugin is jspdf-autotable.

+1

This sadly keeps me from using Typescript with VueJs

can you elaborate?

@mhegazy With Vue 2 you can access Vue plugins by the Vue class instance. For example the cookie plugin would be Vue.cookie
Therefore I would have to extend the type declaration for the Vue class, which I can currently not do (as far as I can see) since we can't merge class declarations.

import * as Vue from "vue";

declare module "vue" {
    export var plugin: any; // my new plugin
}

Vue.plugin; // OK
new Vue(); // OK

@mhegazy thanks, I'll try that out, once I'm home :)
Does it work if you have two different declaration files too?
Original (index.d.ts and my own declaration.d.ts)?

Vue declaration comes from the declaration file coming from the Vue npm package. i do not know what is the other one.

@mhegazy yeah, that's the one I meant with index.d.ts)

This is sad... Most of modules I'm using(typeorm as example) using class instead of interface in their declaration. I can extend them easily in JS but it is impossible in TS(keep type info + autocomplete).

classes are extensible through interfaces (instance side), and through namespaces (static side). not sure why is variable declarations merging or not is relevant here.

@mhegazy Class (instance) may be extended through interface only if it's declared in global namespace. It doesn't work when class is defined in some namespace:
declare namespace ns {
    declare class Foo { }
    declare function getFoo(): Foo;
}

namespace ns {
    interface Foo {
        bar(): number;
    }
}

let foo: ns.Foo = ns.getFoo();
foo.bar(); // Error: Property 'bar' does not exist on type 'Foo'

(the same works when removing ns namespace)

It would be quite interesting to hear from the maintainers of typescript the reason why this issue has not been addressed. Is it there a theoretical standpoint that prevents this for being implemented? Is it that you believe this issue is not important, or easy workarounds are available? Some other reason? Why is this issue still open after 3 years?

I have worked around this in particular cases by extended a local interface definition. This is not ideal, but it works like this:
interface ResponseExt extends express.Response {
    myNewProperty: string;
}

Then you'd just declare usage of ResponseExt explicitly anywhere you use it, such as a function argument. Again, not my favorite thing, but it's the only workaround I could come up with.

@jocull yes, but what about methods? I would like to extend a class with new methods as in aspect oriented programming...

@manast Would you mind putting an example here for clarity?

+1

The OP is extremely old here and references a link that doesn't work anymore. In the interim we've added external module augmentation, additional forms of permitted declaration merging, and removed some error cases that made declaration merging less ergonomic.
With secure JS runtimes being more common (thus no arbitrary mutation to built-ins) and modules exporting immutable surface area in modern (thus you only can augment exposed endpoints, which are already eligible for declaration merging) I don't think there's any necessary work to do in this area. Open to new suggestions on more targeted areas but it's not clear that "make variable declarations open-ended" is a tractable description or the right path forward.

authors: DomiR JeroenNelen JoeDuncko John0x NathanWalker Pro RyanCavanaugh adidahiya basarat clark-stevenson delphinus35 englercj garthk icewind istvan89 jocull lucax88x manast maxlk mertdeg mhegazy niemyjski nin-jin nolakara ravishivt simonbengtsson suppayami windperson


text:
for...of with strictNullChecks

I was able to dig up a lot of discussion about why myArray[i] should not be a nullable type, and that makes sense. But I wasn't able to dig up anything on for ... of loops.
How come the following:
const x = ["a", "b"]
for (const y of x) { /* ... */ }

makes y a nullable type? All the arguments saying myArray[i] shouldn't be a nullable type also seem to apply to for ... of loops, as far as I can see.

+1
I have the same issue here. for..of is conceptually the same as indexer access or .forEach() or .map() or anything that works with an array. The same arguments apply: if I don't declare my array as containing undefined values, it's unusable to implicitely add them.
Example from our codebase:
function frob(changes: ChangeRecord[]) {
  for (const change of changes) {
    // TS 2.0 infers change: ChangeRecord | undefined
    // All uses of `change` are correct but create a "Object is possibly 'undefined' error
  }
}

Just noticed that the problem also exists for the spread operator:
const source: number[] = [1,2,3];
const target: number[]  = [];
target.push(...source);  // error TS2345: Argument of type 'number | undefined' is not assignable to parameter of type 'number'

If you are using the version of the library that ships with the compiler, you shouldn't see this behavior see https://github.com/Microsoft/TypeScript/issues/8357.
The behavior you are seeing is caused by a stale declaration of IteratorResult. My guess is you have a custom version of lib.es6.d.ts locally, and that is what is being used. if this is correct, please update your declaration file to have IteratorResult.value be non-optional. see https://github.com/Microsoft/TypeScript/pull/8450 for more details.

Yup, that was the issue. Thanks, @mhegazy.

Ha... I switched to the new TS modular libs after making sure the code compiled.
I see now that the issue went away, indeed.

thanks for verifying. closing.

authors: jods4 johnfn mhegazy


text:
Fix space issue in mapped type formatting

Fixes https://github.com/Microsoft/TypeScript/issues/20222

thanks!

source: gharchive/pull-request

authors: lankaapura mhegazy


text:
Fix es6 imports of common js

Fixes #

Hi @jasonnian1978, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

In order for us to evaluate and accept your PR, we ask that you sign a contribution license agreement. It's all electronic and will take just minutes. I promise there's no faxing. https://cla.microsoft.com.

TTYL, MSBOT;

@billti can you take a look?

closing in favor of https://github.com/Microsoft/TypeScript/pull/7075

authors: jasonnian1978 mhegazy msftclas


text:
ioncube encoder binaries did not work

Your Windows build number:  Microsoft Windows [Version 10.0.16299.19]
WSL: Ubuntu 16.04.3 LTS

What you're doing and what's happening: Trying to run ioncube encoder and make_license binaries. Steps:

download trial binaries from http://downloads3.ioncube.com/eval_download_packages/ioncube_encoder/linux_i686/en/ioncube_encoder_evaluation.tar.gz
extract make_license, make_license_64, ioncube_encoder71_10.0 and ioncube_encoder71_10.0_64
try to exec from bash these scripts

What's wrong / what should be happening instead: Should output help info or ask correct command line. Actual I have:

make_license = cannot execute binary file: Exec format error
make_license_64 = Segmentation fault
ioncube_encoder71_10.0 = cannot execute binary file: Exec format error
ioncube_encoder71_10.0_64 = looks like work

Strace of the failing command:

make_license:

execve("./make_license", ["./make_license"], [/* 13 vars */]) = -1 ENOEXEC (Exec format error)
write(2, "strace: exec: Exec format error\n", 32) = 32
exit_group(1)                           = ?
+++ exited with 1 +++

make_license_64:

execve("./make_license_64", ["./make_license_64"], [/* 13 vars */]) = 0
uname({sysname="Linux", nodename="ADG-02", ...}) = 0
brk(NULL)                               = 0x1b6b000
brk(0x1b6c180)                          = 0x1b6c180
arch_prctl(ARCH_SET_FS, 0x1b6b860)      = 0
brk(0x1b8d180)                          = 0x1b8d180
brk(0x1b8e000)                          = 0x1b8e000
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0xffffffffff600400} ---
+++ killed by SIGSEGV (core dumped) +++

ioncube_encoder71_10.0:

execve("./ioncube_encoder71_10.0", ["./ioncube_encoder71_10.0"], [/* 13 vars */]) = -1 ENOEXEC (Exec format error)
write(2, "strace: exec: Exec format error\n", 32) = 32
exit_group(1)                           = ?
+++ exited with 1 +++

make_license is #228
make_license_64 is #1462

authors: SailorMax therealkenc

repo: Microsoft/WSL

license: MIT


text:
How to program to update driver software from hidscanner.dll to hidclass.sys for HID Barcode Scanner(usage page is 0x008C) on Windows 10

Hi there,
the hidscanner.dll is loaded automatically for HID Barcode Scanner(usage page is 0x008C) on Windows 10, but our application needs to use hid.lib so hidclass.sys should be used as default.
Since it is uncomfortable for customer to update the driver software manually, so is it possible to force Windows 10 to load hidclass.sys by any configuration of the system, or is it possible and how to program to update driver software?

Learning from DevCon.exe does help.

FYI, you should still be able to use Hid.lib with hidscanner.dll loaded.  The hidscanner driver is loaded on top of the hid device created by hidclass.sys, and the hidscanner driver normally passes through requests like a filter driver.
Just wondering, is your application having issues enumerating the scanner?  Did your application work on Windows 8.1 and it no longer works on 10?

authors: mchen-msft namizhipianren

repo: Microsoft/Windows-driver-samples

license: MS-PL


text:
Embender/radialgradients

Pull Request Type
[ ] Bugfix <!—Please add link to related Issue below -->
[X] New Sample
[ ] Other - Please describe:
Issue
 #
Current issues:
Final SDK number is not known at the moment so this will be updated in the future
Currently have issues with my XAML UI elements to line up as I want them too
Proposed Changes

Adding radial gradient sample to the insider branch of the Sample Gallery

Screenshot/GIF (if applicable):

I thought you were going to merge the sample into the insider branch, not master as you have here

authors: daneuber embender

repo: Microsoft/WindowsCompositionSamples


text:
Update data-factory-create-data-factories-programmatically.md

Why to mess up with Thread (not recommended approach by many reasons) if one can simple await?
P.S. for now I called Task.Result. I can rewrite the entry point to be async as well? Should I? i.e. void Main() and void MainAsync().

@abatishchev,
Thanks for your contribution.
To ensure that the project team has proper rights to use your work, please complete the Contribution License Agreement at https://cla.microsoft.com.
It will cover your contributions to all Microsoft-managed open source projects.
Thanks,
Microsoft Pull Request Bot

@msftclas I'm Microsoft employee

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

@abatishchev : Thanks for your contribution to the Azure documentation! The author, @spelluru, has been notified to review your proposed change.

hi @spelluru I made some changes related to Azure Management API auth inline but instead I think it should be an include file shared by multiple articles, please see other linked pull requests.

@abatishchev - Thanks for the feedback on the article. I followed the steps from walkthrough in the article (after your updates) and I had to make the following changes to get rid of a couple of compiler errors:

Add this line as the first line to the GetAuthorizationHeader method:
var context = new AuthenticationContext(ConfigurationManager.AppSettings["ActiveDirectoryEndpoint"] + ConfigurationManager.AppSettings["ActiveDirectoryTenantId"]);

Add "using System.Threading" at the top to get rid of an error

I am now getting the following error:
The best overload for 'AcquireTokenAsync' does not have a parameter named 'redirectUri'
When I double click on it, it points me to the AcquireTokenAsync call in the GetAuthorizationMethod method.
Could you make these fixes and submit the PR again? I will use an include file for the .NET walkthroughs in Data Factory content once I have this working fine.
Thanks & Regards,
Sreedhar

@abatishchev - Could you make the changes and push the branch up when you get a chance? Or I can make changes in a separate PR. Please let me know. Thanks!

Done. Thanks for your help!

Great. Thanks very much @abatishchev.
#sign-off

authors: PRmerger abatishchev msftclas spelluru

repo: Microsoft/azure-docs


text:
Discuss about the parent pom file in this repo

For now, we have a parent pom here: https://github.com/Microsoft/azure-maven-archetypes/blob/master/pom.xml
And the function archetype is treated as a submodule.
@brunoborges Do you think it is necessary to organize them as multi-module project? How about each archetype becomes a simple folder?

I think we can take the same approach as the maven plugin repo. We use multi-modules to take advantage of shared configurations, but release archetypes independently (and don't release to Maven Central the parent, because it is not needed at all).

I see.

authors: brunoborges jdneo

repo: Microsoft/azure-maven-archetypes


text:
npm publish based on new tags

It would be great to have an example about how to publish an npm module to the public npmjs.com registry from a github repository. Ideally, this would illustrate how to trigger a new CI build on any commit, while running the npm publish command only when a new tag has been committed to the master branch.
I could imagine that such an example might really improve the adoption of Azure CI as build solution for npm-based Javascript projects. Right now it is very difficult to find useful documentation for this individual problem.
Thanks in advance :)

I came up with a (kind of) working solution, maybe it is of help to someone else. I'd also really appreciate any comments or feedback on this, since I have been using Azure CI for not more than 3 hours now ;) ...
This approach uses a conditional task execution which only triggers the npm publish task when the source branch is a new release (create via github). This still has some disadvantages (e.g. manual versioning), but works for a simple publishing workflow when using the github UI for creating releases.
# Build and publish a node.js-based library from a github repository. Only
# publish anything to npm if the tests succeeded (so the build was ok)
# and the build is spawned from a new release in github.

pool:
  vmImage: 'Ubuntu 16.04'

steps:
  - task: NodeTool@0
    inputs:
      versionSpec: '8.x'
    displayName: 'Install Node.js'

  - script: |
      npm install
      npm run test
    displayName: 'Npm install and test'

  - task: Npm@1
    # only execute this task when the sourceBranch is a new release
    condition: startsWith(variables['build.sourceBranch'], 'refs/tags/')
    inputs:
      command: publish
      publishEndpoint: npmjs.com
    displayName: 'Publishing to npmjs.com'

I suspect the preferred approach is to use a different pipeline YAML file for releases, and give that a trigger that only looks for tags. You can combine that with a template to prevent duplication. For example I use these three files:
templates/test.yml
  jobs:
  - job: test
    displayName: Run tests

    pool:
      vmImage: 'Ubuntu 16.04'

    steps:
      - task: NodeTool@0
        inputs:
          versionSpec: '10.x'

      - task: Npm@1
        displayName: 'npm install'
        inputs:
          command: install

      - task: Npm@1
        displayName: 'npm test'
        inputs:
          command: custom
          customCommand: 'test'

test.yml
jobs:
  - template: templates/test.yml

release.yml
trigger:
  branches:
    exclude:
      - "*"
  tags:
    include:
      - v*

jobs:
  - template: templates/test.yml

  - job: docker
    displayName: Docker image
    dependsOn:
      - test

    pool:
      vmImage: 'Ubuntu 16.04'

    steps:
      - task: Docker@2
        displayName: Login to ACR
        inputs:
          command: login
          containerRegistry: azr-crypho

      - task: Docker@2
        displayName: Build and Push
        inputs:
          command: buildAndPush
          repository: crypho/nexmock
          tags: |
            $(Build.BuildId)
            $(Build.SourceBranch)

authors: ryx wichert

repo: Microsoft/azure-pipelines-yaml


text:
Fix TSLint warnings in msbot-secret.ts

Related to #313
Proposed Changes
Fix the following warnings in the filemsbot-secret.ts:

typedef
no-any
interface-name
prefer-const
max-line-length
newline-before-return
eofline

Testing
Travis will no longer report this issue.

Pull Request Test Coverage Report for Build 602

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 78.258%

Totals

Change from base Build 595:
0.0%

Covered Lines:
2836

Relevant Lines:
3526

💛  - Coveralls

authors: JuanAr coveralls

repo: Microsoft/botbuilder-tools


text:
Ccastro/fix connect enforce endpoint

Fixes #777

Pull Request Test Coverage Report for Build 1891

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 68.697%

Totals

Change from base Build 1889:
0.0%

Covered Lines:
4036

Relevant Lines:
5570

💛  - Coveralls

authors: carlosscastro coveralls


text:
Change log mentions TriggerForIncompleteCompletions that isn't in the specification

In https://github.com/Microsoft/language-server-protocol/commit/e4e92487b2d164aa7cb6e36216267a0c99e7167a, the change log was updated to state that:

In addition we enhanced the CompletionTriggerKind with a new value TriggerForIncompleteCompletions: 3 = 3 to signal the a completion request got trigger since the last result was incomplete.

However, this enum is not in the specification. #403 doesn't appear to be closed or merged either. Am I missing something here or am I looking at the wrong specification.md file, @dbaeumer?

No. I merged in the PR.

authors: dbaeumer rcjsuen

repo: Microsoft/language-server-protocol


text:
stuck in first build in Ubuntu 14.04

I followed the steps listed in Project Malmo Documentation.
but when I run the build command:
#cd Minecraft
#./launchClient.sh -port 10001
the program stuck in
">Configuring > 0/1 projects > root project"
I have tried twice, the first time it has stuck for a whole night.
Is there anybody else that has met this problem?

Just by repeat Ctrl+C, And retry for several times, the problem solved.
thanks to all.

repo: Microsoft/malmo


text:
Use Central Package Versioning SDK

Uses SDK from https://github.com/Microsoft/MSBuildSdks
Versions for PackageReference can only be specified in build/Packages.props file. If you add a Version= attribute to any other PackageReference in our tree you get an error that you must specify it in the Packages.props file (it gives the path to it in the error message).

FYI @cdmihai and I verified all references are identical before and after the build. Dataflow was the only one that slightly differed between Core and Full Framework we had to add a Condition for in the Packages.props.

We can do this change but I'd recommend starting with moving your build definitions to YAML, then updating to the latest RepoToolset and after that we can make this change in such a way that's compatible with Maestro and Orchestrated Build.

@tmat what does this have to do with YAML?

@rainersigwald The latest and future versions of RepoToolset will require some changes to the build definition. They are much easier to do with YAML build definitions.

That sounds good of course, but not sure what it has to do with this? This is about PackageReference items not having versions in them and using a single file to specify package versions. They can still flow upstream like before and all that.

The problem is with deleting the version variables here: https://github.com/Microsoft/msbuild/pull/3441/files#diff-9260067da6a2db86b9a5db30fa8ee2aeL41
The toolset imports Versions.props first. After that it imports version overrides supplied by Orchestrated Build, so that they overwrite the values of the -Version properties that should flow from Orchestrated Build.
Also, you said you want to update RepoToolset to add the IsImplicitlyDefinted metadata. We should do that but then you'll need to use the latest RepoToolset to be able to remove your workaround.

authors: AndyGerlicher rainersigwald tmat

repo: Microsoft/msbuild

license: mit

license_source: bigquery


text:
Some tags not listed on the docker hub page

Related: https://github.com/Microsoft/mssql-docker/issues/167, https://github.com/Microsoft/mssql-docker/issues/345, https://github.com/Microsoft/mssql-docker/issues/400
I'm disappointed that not all relevant tags are listed on the docker hub page, here: https://hub.docker.com/_/microsoft-mssql-server?tab=description
For example, these are missing:

2017-CU13-ubuntu
2017-CU14-ubuntu

And any of the 2019 CTP tags, such as

2019-CTP2.3-ubuntu

I noticed this because I saw the blog post about CTP 2.4, and wondered if there was a new docker image, so I found the docker hub page and checked the tags, and it's not listed. So I was forced to guess what the tag might be based on the CTP 2.3 tag name. But this is silly, I shouldn't have to guess your tag structure, because it ought to be clearly listed.

Hi,
You can retrieve a list of all available tags for mssql/server at  https://mcr.microsoft.com/v2/mssql/server/tags/list
{
  "name": "mssql/server",
  "tags": [
    "2017-CU1-ubuntu",
    "2017-CU10",
    "2017-CU10-ubuntu",
    "2017-CU11",
    "2017-CU11-ubuntu",
    "2017-CU12",
    "2017-CU12-ubuntu",
    "2017-CU13",
    "2017-CU13-ubuntu",
    "2017-CU14",
    "2017-CU14-ubuntu",
    "2017-CU2-ubuntu",
    "2017-CU3-ubuntu",
    "2017-CU4-ubuntu",
    "2017-CU5-ubuntu",
    "2017-CU6-ubuntu",
    "2017-CU7-ubuntu",
    "2017-CU8-ubuntu",
    "2017-CU9-ubuntu",
    "2017-GA-ubuntu",
    "2017-GDR-ubuntu",
    "2017-latest",
    "2017-latest-ubuntu",
    "2018-CTP20",
    "2018-CTP20-ubuntu",
    "2019-CTP2.0",
    "2019-CTP2.0-ubuntu",
    "2019-CTP2.1",
    "2019-CTP2.1-ubuntu",
    "2019-CTP2.2",
    "2019-CTP2.2-ubuntu",
    "2019-CTP2.3",
    "2019-CTP2.3-ubuntu",
    "2019-CTP2.4",
    "2019-CTP2.4-ubuntu",
    "2019-latest",
    "latest",
    "latest-ubuntu",
    "vNext-CTP2.0-ubuntu"
  ]
}

Helpful, thanks. It would be nice if this sync'd to the docker hub page automatically somehow...

authors: aharpervc forkazmoden

repo: Microsoft/mssql-docker


text:
Too much application instances in hadoop for the same job.

When there is no enough resources for a job, The job will schedule fail and retry, each time re-try,  Framework launcher will create a application instances in hadoop in each ~30 minutes,  this cause the hadoop application is full of duplicated failed job information.

@qinchen123 - please help to evaluate whether this is still an issue, thanks.

repo: Microsoft/pai


text:
Migrate serviceprofiler changes 2

Mainly add switches to allow callers to turn on/off some experimental features.

Codecov Report

Merging #599 into master will decrease coverage by <.01%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master     #599      +/-   ##
==========================================
- Coverage   17.49%   17.48%   -0.01%
==========================================
  Files         216      216
  Lines      124906   124919      +13
  Branches    12056    12059       +3
==========================================
- Hits        21847    21845       -2
- Misses     102195   102209      +14
- Partials      864      865       +1

Flag
Coverage Δ

#2017
17.48% <0%> (-0.01%)
:arrow_down:

#Debug
17.48% <0%> (-0.01%)
:arrow_down:

#Release
100% <ø> (ø)
:arrow_up:

Impacted Files
Coverage Δ

...vent/Computers/SampleProfilerThreadTimeComputer.cs
0% <0%> (ø)
:arrow_up:

src/TraceEvent/Symbols/NativeSymbolModule.cs
0% <0%> (ø)
:arrow_up:

src/TraceEvent/Symbols/SymbolReader.cs
0% <0%> (ø)
:arrow_up:

.../TraceEvent/Computers/StartStopActivityComputer.cs
0% <0%> (ø)
:arrow_up:

src/TraceEvent/Computers/ThreadTimeComputer.cs
0% <0%> (ø)
:arrow_up:

src/PerfView/StackViewer/StackWindow.xaml.cs
25.65% <0%> (-0.08%)
:arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9c7a594...a5f5dcf. Read the comment docs.

Ooops, sorry I did another rebase to merge the conflict and then we lost an important piece of the discussion. Bring it back here:
https://github.com/Microsoft/perfview/commit/a5f5dcfb12d57223a7141493523e3bbed284ab3f#commitcomment-28081622

@vancem thanks for the review. Please give me some time to work on the question about NativeSymbolModule.

repo: Microsoft/perfview


text:
Add a feature to open new window based on parent window location.

A proposed fix for issue #680.

Sorry for the delay.   The large number of files changed did put me off.
However, the modifications are conceptually simple (you are changing the base for every window), and do solve the problem completely (every window now will stay near its parent and thus on the same monitor).
Thanks for doing this.

authors: jquaglio vancem


text:
MutatingReferences test fails

Looks like we are only looking into variables in a single file. We are not inspecting all files that may be referencing types from the file the user is is working with. I.e. FindReferences request comes with specific URI but we don't look into other files.

Reproes in the product as well. Open folder with mod1 open but mod2 closed. Observe squiggly under import mod2

Now open mod2 - squiggly goes away

Depends on https://github.com/Microsoft/python-language-server/issues/273

N/A with the new code base

repo: Microsoft/python-language-server


text:
[error]Microsoft.PowerShell.Archive

bootstrap-vcpkg.bat
Downloading vswhere...
Extracting aria2...
Не удается найти перегрузку для "ExtractToFile" и количества аргументов: "3".
C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules\Microsoft.PowerShell.Archive\1.1.0.0\Microsoft.PowerShell.Archive.psm1:1068
знак:25
+ ...             [System.IO.Compression.ZipFileExtensions]::ExtractToFile( ...
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [], MethodException
    + FullyQualifiedErrorId : MethodCountCouldNotFindBest

Extracting aria2... done.
fetchToolInternal : Could not detect or download aria2
E:\tools\vcpkg\temp\vcpkg\scripts\fetchTool.ps1:58 знак:25
+             $aria2exe = fetchToolInternal "aria2"
+                         ~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,fetchToolInternal

ScriptHalted
E:\tools\vcpkg\temp\vcpkg\scripts\fetchTool.ps1:99 знак:9
+         throw
+         ~~~~~
    + CategoryInfo          : OperationStopped: (:) [], RuntimeException
    + FullyQualifiedErrorId : ScriptHalted

https://github.com/Microsoft/vcpkg/commit/dc207a2c891fe6deb2710ccde0abf48078f64fcd
https://github.com/PowerShell/Microsoft.PowerShell.Archive/issues/52

В powershell установил лишние скрипты, какие то конфликты, восстановил, обновил и все стало нормально.
Закрываю

repo: Microsoft/vcpkg


text:
[minizip] Fix BZip2 Dependency on Linux

It was spelled Bzip2 when the dependency was BZip2.
Fixes #3310.

Thank you for fixing this!

authors: Rastaban cwfitzgerald


text:
appService.Deploy is exist in project

Repro steps:

Action: appService.Deploy
Error type: Error
Error Message: Entry not found in cache.
Version: 0.13.0
OS: win32
VS Code Version: 1.33.0

Call Stack
a.module.exports.a.createError (dist/extension.js:1:49013)
b.<anonymous> (dist/extension.js:229:176266)
dist/extension.js:229:170881
dist/extension.js:229:43032
dist/extension.js:229:41899
B.module.exports.e.exports.createRequestHandler [as _callback] (dist/extension.js:1:182121)
B.module.exports.B.init.t._callback.t.callback.t.callback (dist/extension.js:181:5454)
B.emit (events.js:182:13)
B.EventEmitter.emit (domain.js:442:20)
B.<anonymous> (dist/extension.js:181:18282)
B.emit (events.js:182:13)
B.EventEmitter.emit (domain.js:442:20)
IncomingMessage.<anonymous> (dist/extension.js:181:17124)
Object.onceWrapper (events.js:273:13)
IncomingMessage.emit (events.js:187:15)
IncomingMessage.EventEmitter.emit (domain.js:442:20)
endReadableNT (_stream_readable.js:1090:12)
process._tickCallback (internal/process/next_tick.js:63:19)

Thanks for filing - this is being tracked in the azure account repo: https://github.com/Microsoft/vscode-azure-account/issues/53

repo: Microsoft/vscode-azureappservice


text:
argumentList in mongo grammar should be renamed argument

arguments
: OPEN_PARENTHESIS = '(' ( argumentList (',' argumentList)* )? CLOSED_PARENTHESIS = ')'
;
argumentList      <<=== this is not a list
: literal
| objectLiteral
| arrayLiteral
;

We talked about this during my PR-review. The fix seems bigger than just the variable name - the visitor methods need to be renamed too.

Now's the perfect time to do it, as long as it doesn't take too long.

authors: PrashanthCorp StephenWeatherford

repo: Microsoft/vscode-cosmosdb


text:
ironpython debugger configuration

Environment data
VS Code version:  1.18.1
Python Extension version:  0.8.0
Python Version:   Ironpython 2.7.3 (2.7.0.40)
OS and version:    window 10
Actual behavior
i could not get Debug ouput with Ironpython (ipw64.exe) as python.PythonPath
Expected  behavior
want to read error
Steps to reproduce:

Logs
Output from Python output panel

Output from Console window (Help->Developer Tools menu)

Unfortunately, debugging using ironpython is not supported.
Closing as this isn't supported.

it's really sad. Could you give me a little more abour reason, as far as i know, other IDE (PyCharm) has also this problem. Could Visual Studio IDE work with Python like that ?

We will have a look to see if we can see if there's an obvious answer as to why it isn't working.

It has been over a month since more info was requested so I am closing this issue. If you find the time to provide the requested details then we would be happy re-open this issue.

authors: DonJayamanne brettcannon wta12

repo: Microsoft/vscode-python


text:
Go to definition (F12 or Ctrl+LMB) fails when clicking on a relative import

Environment data

VS Code version: 1.33.1
Extension version (available under the Extensions sidebar): 2019.4.11987
OS and version: W10 N Professional 1809 (Build 17763.437)
Python version (& distribution if applicable, e.g. Anaconda): Python 3.7.3 64-bit
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): happens with and without virtualenv
Relevant/affected Python packages and their versions: All with relative imports

Expected behaviour
Go to definition works
Actual behaviour
Go to definition fails ("No definition found for X"). Additionaly, showing definitions (from type hints) of members of these modules is not reliable.
Steps to reproduce:

execute code . in an empty folder
create a new file (e.g. test.py)
type import requests
put cursor on "requests", press F12, requests' init.py opens as expected
put cursor on .exceptions in the line from .exceptions import RequestsDependencyWarning, press F12

Logs
Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)
Starting Microsoft Python language server.
[Info  - 16:59:50] GetCurrentSearchPaths C:\Users\Benni\AppData\Local\Programs\Python\Python37\python.exe
[Info  - 16:59:50] Python search paths:
[Info  - 16:59:50]     c:\users\benni\appdata\local\programs\python\python37\dlls
[Info  - 16:59:50]     c:\users\benni\appdata\local\programs\python\python37\lib
[Info  - 16:59:50]     c:\users\benni\appdata\local\programs\python\python37
[Info  - 16:59:50]     c:\users\benni\appdata\local\programs\python\python37\lib\site-packages
[Info  - 16:59:50]     c:\users\benni\appdata\local\programs\python\python37\lib\site-packages\enochecker-0.0.1-py3.7.egg
[Info  - 16:59:50]     c:\users\benni\appdata\local\programs\python\python37\lib\site-packages\psutil-5.6.1-py3.7-win-amd64.egg
[Info  - 16:59:50]     c:\users\benni\appdata\local\programs\python\python37\lib\site-packages\elastic_apm-4.2.2-py3.7-win-amd64.egg
[Info  - 16:59:50] Configuration search paths:
[Info  - 17:00:00] Microsoft Python Language Server version 0.2.63.0
[Info  - 17:00:00] Initializing for C:\Users\Benni\AppData\Local\Programs\Python\Python37\python.exe

Output from Console under the Developer Tools panel (toggle Developer Tools on under Help; turn on source maps to make any tracebacks be useful by running Enable source map support for extension debugging)
[Extension Host] Python Extension: Cached data exists getEnvironmentVariables, extensions
console.ts:134 [Extension Host] Python Extension: Cached data exists getEnvironmentVariables, extension-output-#2
console.ts:134 [Extension Host] Python Extension: Cached data exists getEnvironmentVariables, c:\Users\Benni\vscodetest
console.ts:134 [Extension Host] Python Extension: Cached data exists getEnvironmentVariables, extension-output-#2
console.ts:134 [Extension Host] Python Extension: Cached data exists getEnvironmentVariables, c:\users\benni\appdata\local\programs\python\python37\lib\site-packages\requests\__init__.py

Issue moved to Microsoft/python-language-server #1022 via ZenHub

authors: DonJayamanne Trolldemorted


text:
Cannot start WAMP server from terminal

VSCode Version: 1.4.0
OS Version: Windows 10

Steps to Reproduce:

Use powershell in terminal
Open wampmanager.exe directly or as alias

I use powershell in terminal and I have WAMP alias set in my Microsoft.Powershell_profile.ps1
new-item alias:wamp -value C:\wamp\wampmanager.exe
When I start it with wamp or directly with C:\wamp\wampmanager.exe my WAMP server starts but with all services inactive (red icon) and I can't activate them.
But it works when I use it directly in powershell. Why is that?

Could this be to do with running 32 bit powershell which is the default? You can see if this works using the 64 bit one here https://code.visualstudio.com/docs/editor/integrated-terminal#_configuration

Thanks but still no changes when I do:
"terminal.integrated.shell.windows": "C:\\Windows\\sysnative\\WindowsPowerShell\\v1.0\\powershell.exe"
My WAMP is 64bit version if that means something to you.

@daviwil any ideas on this one?

Hmmm...  Not sure why it'd still be having trouble if you're running 64-bit PowerShell.  Does wampserver have any log output you could check to see why the services aren't starting?  I've never used it before so I'm not familiar at all.

When I start it with integrated terminal wamp doesn't write any logs (there are 4 types of logs in it: access, mysql, php and apache).
With normal powershell it writes this in apache log:
[Fri Aug 12 20:57:43.543328 2016] [auth_digest:notice] [pid 2536:tid 876] AH01757: generating secret for digest authentication ...
[Fri Aug 12 20:57:43.652709 2016] [mpm_winnt:notice] [pid 2536:tid 876] AH00455: Apache/2.4.17 (Win64) PHP/5.6.16 configured -- resuming normal operations
[Fri Aug 12 20:57:43.652709 2016] [mpm_winnt:notice] [pid 2536:tid 876] AH00456: Apache Lounge VC14 Server built: Oct 11 2015 11:49:07
[Fri Aug 12 20:57:43.652709 2016] [core:notice] [pid 2536:tid 876] AH00094: Command line: 'C:\\wamp\\bin\\apache\\apache2.4.17\\bin\\httpd.exe -d C:/wamp/bin/apache/apache2.4.17'
[Fri Aug 12 20:57:43.652709 2016] [mpm_winnt:notice] [pid 2536:tid 876] AH00418: Parent: Created child process 7820
[Fri Aug 12 20:57:44.934025 2016] [auth_digest:notice] [pid 7820:tid 792] AH01757: generating secret for digest authentication ...
[Fri Aug 12 20:57:45.043407 2016] [mpm_winnt:notice] [pid 7820:tid 792] AH00354: Child: Starting 64 worker threads.

When I check state of services (wamp function) after starting it in terminal then it returns this:

Normally it returns that all 3 services are started, when starting it outside integrated terminal.

If you have any more info on why this is failing, please let us know.

authors: JakobCrnogaj Tyriar crnogaj daviwil

repo: Microsoft/vscode


text:
typescript format code broken

VSCode Version: 1.5.0.insider latest
OS Version: OSX  El Capitan

With the latest vscode insider, the format code is broken for typescript files.
If i use the official build it works correctly.
The second screenshot shows how classes are indented (variables are put on the same line).

fyi @dbaeumer

@farfromrefug thank you for opening an issue.
Let's see if we can narrow down the issue. I've created this simple example, but cannot reproduce the behavior you have described.
class Dog {

    constructor(name) {
        this.name = name;
    }

    bark() {
        console.log('bark');
    }

    name: 'Fido'
}

I selected the entire class.
Right clicked to Format Code

I expected to see name: 'Foo' end up on the same line as the closing brace of bark.
Can you look at my example and build off of it to recreate your bug? This will help us in identifying the bug you are seeing.

@waderyan
Yes it works fine with your code. The issue is when you declare a variable an object like this:
class Dog {
  constructor(name) { this.name = name; }

  bark() { console.log('bark'); }

  name = {}
  name2 = 'Fido'
}

Also i remember now that cast <> causes issues too like this:

class Dog {
  constructor(name) { this.name = name; }

  bark() { console.log('bark'); }

  name : Array<number>
  name2 = 'Fido'
}

name2 ends up on name's line
and also same things with imports without the ; they end up on the same line

@farfromrefug I'm not seeing this on my end.
My setup.

I created a file test.ts
I copied the code you provided.
I right clicked and chose Format Code.

Are those the exact steps you have done?

@waderyan yes they are.
I even tried it in a new window to be sure.
What i have not done though is without any extension (can they change the behavior?)
Is there a way to disable my extensions without having to remove them all?

Also here is my config file
// Place your settings in this file to overwrite the default settings
{
    // Configure glob patterns for excluding files and folders.
    "files.exclude": {
        "**/.metadata": true,
        "**/.bzrmeta": true,
        "**/.bzr": true,
        "**/.git": true,
        "**/.vscode": true,
        "**/tags": true,
        "**/.tags*": true,
        "**/.zip": true,
        "**/.DS_Store": true,
        "build": true
    },
    "search.exclude": {
        "**/git": true,
        "dist": true,
        "**/node_modules": true,
        "build": true
    },
    "editor.folding": false,
    "editor.wrappingColumn": 130,
    "editor.wrappingIndent": "indent",
    "editor.renderWhitespace": true,
    "explorer.autoReveal": false,
    "telemetry.enableTelemetry": false,
    "beautify.CSSfiles": [
        "css",
        "rjss"
    ],
    "beautify.JSfiles": [
        "ts"
    ],
    "color-highlight.languages": [
        "rjss",
        "ts",
        "typescript"
    ],
    "eslint.enable": false,
    "clang-format.executable": "/usr/local/bin/clang-format",
    "git.enabled": true,
    "color-highlight.markerType": "background"
}

Ok. Yes let's try those two things as I don't have extensions or settings.
Start code from the command line with --disable-extensions
code-insiders --disable-extensions <file-name>

Remove all your settings (I'd copy them to a temp file) except add
{
  "typescript.tsserver.trace": "verbose"
}

Look in the console and send a picture of it. There may be an error from the tsserver.
If this works, then we'll be able to isolate on an extension or a setting. If it doesn't work I'll open an issue with TypeScript. `

@waderyan i found the guilty one!
It's actually not a vscode issue but a clang-format issue!
I am sorry i did not see it before :s I did not even think an extension could override format code.
Plus i didn't think clang-format was actually formatting typescript ...
And after a little search, putting clang-format.language.typescript.enable to false even fixed it with the extension still installed
Thanks

Great. Glad to see you were able to resolve it.

authors: alexandrudima farfromrefug waderyan


text:
Code Helper is spiking to 100% CPU usage

VSCode Version: 1.8.1
OS Version: macOS Sierra

This happened a couple of times today. I always kill them and restart VS Code. After a while they are coming back.
Couldn't find an issue yet but noticed on twitter that some people experience the same issue.

Can you show the output of this command: ps -eo pcpu,user,pid,command | grep Code so I can see which helper processes are using excess CPU?

I will let you know more tomorrow when it happens again.

Having the same issue. Here's the ps output:
  0.0 root              4807 /System/Library/Frameworks/Security.framework/Versions/A/XPCServices/com.apple.CodeSigningHelper.xpc/Contents/MacOS/com.apple.CodeSigningHelper
  0.0 jeffnelson       75694 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper /Users/jeffnelson/.vscode/extensions/glen-84.sass-lint-0.0.3/node_modules/vscod
e-languageclient/lib/utils/electronForkStart /Users/jeffnelson/.vscode/extensions/glen-84.sass-lint-0.0.3/server/server.js --node-ipc
  0.1 jeffnelson       83892 /Applications/Visual Studio Code.app/Contents/MacOS/Electron
  0.0 jeffnelson       83893 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper --type=gpu-process --channel=83892.0.1160356981 --mojo-application-channel-toke
n=C6E671C909D1B7AC8304E37F8774356C --no-sandbox --supports-dual-gpus=false --gpu-driver-bug-workarounds=18,20,29,40,48,51,52,56,58,66,67,71,73,75 --gpu-vendor-id=0x8086 --gpu-device-id=0x0a2e --gpu-driver-ven
dor --gpu-driver-version --gpu-driver-date --gpu-active-vendor-id=0x8086 --gpu-active-device-id=0x0a2e
  0.0 jeffnelson       84128 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper /Applications/Visual Studio Code.app/Contents/Resources/app/out/bootstrap --typ
e=SharedProcess
  0.0 jeffnelson       84137 /Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Resources/crashpad_handler --database=/var/folders/j0/k90357491ldb2scc6pb644880000gn/T/VSCode
 Crashes --url=https://ticinocrashreporter.azurewebsites.net/crash --handshake-fd=67
  0.1 jeffnelson       87515 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper --type=renderer --no-sandbox --primordial-pipe-token=771D0B3F5B165158CBA5D40235
E4149D --lang=en-GB --node-integration=true --background-color=#171717 --enable-pinch --num-raster-threads=2 --enable-zero-copy --disable-partial-raster --enable-gpu-memory-buffer-compositor-resources --conte
nt-image-texture-target=3553,3553,3553,3553,3553,34037,3553,3553,3553,3553,3553,34037,3553,34037,34037 --video-image-texture-target=3553,3553,3553,3553,3553,34037,3553,3553,3553,3553,3553,34037,3553,34037,340
37 --mojo-channel-token=52BE8ED36ED47BAC8B10D133E17D5962 --mojo-application-channel-token=771D0B3F5B165158CBA5D40235E4149D --channel=83892.9.702690021
  0.0 jeffnelson       87517 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper /Applications/Visual Studio Code.app/Contents/Resources/app/out/bootstrap --typ
e=extensionHost
  0.0 jeffnelson       87518 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper /Applications/Visual Studio Code.app/Contents/Resources/app/out/bootstrap --typ
e=watcherService
  0.0 jeffnelson       87521 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper /Applications/Visual Studio Code.app/Contents/Resources/app/out/bootstrap /usr/
local/bin/git /Users/jeffnelson/Sites/_lift/makesomething utf8 /Applications/Visual Studio Code.app/Contents/MacOS/Electron 2.6.1
  0.0 jeffnelson       87655 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper /Applications/Visual Studio Code.app/Contents/Resources/app/out/bootstrap --typ
e=searchService
  0.0 jeffnelson       87660 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/css/node
_modules/vscode-languageclient/lib/utils/electronForkStart /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/css/server/out/cssServerMain.js --node-ipc
 82.8 jeffnelson       87661 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper /Users/jeffnelson/.vscode/extensions/glen-84.sass-lint-0.0.3/node_modules/vscod
e-languageclient/lib/utils/electronForkStart /Users/jeffnelson/.vscode/extensions/glen-84.sass-lint-0.0.3/server/server.js --node-ipc
  0.0 jeffnelson       87805 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper --nolazy --debug=6004 /Applications/Visual Studio Code.app/Contents/Resources/a
pp/extensions/html/node_modules/vscode-languageclient/lib/utils/electronForkStart /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/html/server/out/htmlServerMain.js --node-ipc
  0.0 jeffnelson       93856 /Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Resources/crashpad_handler --database=/var/folders/j0/k90357491ldb2scc6pb644880000gn/T/VSCode
 Crashes --url=https://ticinocrashreporter.azurewebsites.net/crash --handshake-fd=67
  1.5 jeffnelson       88320 grep Code

Yes facing such problem in Windows also.
Even for large JSON or any files having lines about 242846
Editor becomes very very slow and function performs after some seconds.
Opened issue  https://github.com/Microsoft/vscode/issues/17731

@stormwarning In your case Sass Lint's server is using a lot of CPU cycles. Could you uninstall this extension and see if that solves the issue?

@stormwarning In your case it looks like a process belonging to the sass-lint extension is busy. You may want to file an issue on them. Probably not the case for everyone.
When there are multiple equally busy processes, I'm worried that they are our search worker processes, since we now run search in multiple processes.

Thanks for the help—disabling sass-lint does seem to have solved my particular issue. I'll file an issue with the extension. 👍

Hello @roblourens
Having the same kind of issue with a csharp file (around 450 lines, ~20Ko). Also running on mac os x, last version of vscode.
Here is the result of the command ps -eo pcpu,user,pid,command | grep Code
 0,0 root               177 /System/Library/Frameworks/Security.framework/Versions/A/XPCServices/com.apple.CodeSigningHelper.xpc/Contents/MacOS/com.apple.CodeSigningHelper
  0,0 Julien            4243 /Applications/Visual Studio Code.app/Contents/MacOS/Electron SqlHelper.cs
  0,0 Julien            4258 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper --type=gpu-process --channel=4243.0.861992533 --mojo-application-channel-token=62C616DCACE419AF404BE513C7074344 --no-sandbox --supports-dual-gpus=false --gpu-driver-bug-workarounds=18,20,29,40,48,51,52,56,58,66,67,71,73,75 --gpu-vendor-id=0x8086 --gpu-device-id=0x162b --gpu-driver-vendor --gpu-driver-version --gpu-driver-date --gpu-active-vendor-id=0x8086 --gpu-active-device-id=0x162b
  0,0 Julien            4259 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper /Applications/Visual Studio Code.app/Contents/Resources/app/out/bootstrap --type=SharedProcess
  0,0 Julien            4266 /Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Resources/crashpad_handler --database=/var/folders/mz/kf6qvwgx01z1hs_wv475yys40000gn/T/VSCode Crashes --url=https://ticinocrashreporter.azurewebsites.net/crash --handshake-fd=54
 98,2 Julien            4431 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper --type=renderer --no-sandbox --primordial-pipe-token=11E618429958FC7CBD3FAF0EA285298D --lang=fr --node-integration=true --background-color=#171717 --enable-pinch --num-raster-threads=2 --enable-zero-copy --disable-partial-raster --enable-gpu-memory-buffer-compositor-resources --content-image-texture-target=3553,3553,3553,3553,3553,34037,3553,3553,3553,3553,3553,34037,3553,34037,34037 --video-image-texture-target=3553,3553,3553,3553,3553,34037,3553,3553,3553,3553,3553,34037,3553,34037,34037 --mojo-channel-token=0BF3C4CBF1CC9423B442D02675F211C1 --mojo-application-channel-token=11E618429958FC7CBD3FAF0EA285298D --channel=4243.2.1581264879
  0,0 Julien            4432 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper /Applications/Visual Studio Code.app/Contents/Resources/app/out/bootstrap --type=extensionHost
  0,0 Julien            4433 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper /Applications/Visual Studio Code.app/Contents/Resources/app/out/bootstrap --type=watcherService
  0,0 Julien            4436 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper /Applications/Visual Studio Code.app/Contents/Resources/app/out/bootstrap /usr/local/bin/git /Users/Julien/Documents/Source/CarAngel/Api/CarAngel.Api/Helpers utf8 /Applications/Visual Studio Code.app/Contents/MacOS/Electron 2.9.0
  0,0 Julien            4486 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper /Applications/Visual Studio Code.app/Contents/Resources/app/out/bootstrap --type=searchService
  0,0 Julien            4586 grep Code

It looked like it started happening after running npm install in the built-in terminal. Not sure though, could've happened because of something else.
  0.0 root               306 /System/Library/Frameworks/Security.framework/Versions/A/XPCServices/com.apple.CodeSigningHelper.xpc/Contents/MacOS/com.apple.CodeSigningHelper
  0.0 sam               1066 /Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Resources/crashpad_handler --database=/tmp/VSCode Crashes --url=https://ticinocrashreporter.azurewebsites.net/crash --handshake-fd=63
  0.0 sam              23961 /Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Resources/crashpad_handler --database=/var/folders/d7/p5p99mzn4yn6nwnxk22dmrqh0000gn/T/VSCode Crashes --url=https://ticinocrashreporter.azurewebsites.net/crash --handshake-fd=53
100.0 sam              25412 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper /Users/sam/.vscode/extensions/Google.ng-template-0.0.10/node_modules/vscode-languageclient/lib/utils/electronForkStart /Users/sam/.vscode/extensions/Google.ng-template-0.0.10/server/server.js --node-ipc
  2.4 sam              30874 /Applications/Visual Studio Code.app/Contents/MacOS/Electron
  0.0 sam              30875 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper --type=gpu-process --channel=30874.0.2069405176 --mojo-application-channel-token=D7B09869FC907D5B693FFEEA66749E99 --no-sandbox --supports-dual-gpus=false --gpu-driver-bug-workarounds=18,20,29,40,48,51,52,56,58,66,67,71,73,75 --gpu-vendor-id=0x8086 --gpu-device-id=0x0d26 --gpu-driver-vendor --gpu-driver-version --gpu-driver-date --gpu-active-vendor-id=0x8086 --gpu-active-device-id=0x0d26
  0.0 sam              31091 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper /Applications/Visual Studio Code.app/Contents/Resources/app/out/bootstrap --type=SharedProcess
  0.0 sam              31100 /Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Resources/crashpad_handler --database=/var/folders/d7/p5p99mzn4yn6nwnxk22dmrqh0000gn/T/VSCode Crashes --url=https://ticinocrashreporter.azurewebsites.net/crash --handshake-fd=58
  0.1 sam              32446 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper --type=renderer --no-sandbox --primordial-pipe-token=D7ACD73629934234BBB269C728884C19 --lang=en-GB --node-integration=true --background-color=#171717 --enable-pinch --num-raster-threads=4 --enable-zero-copy --disable-partial-raster --enable-gpu-memory-buffer-compositor-resources --content-image-texture-target=3553,3553,3553,3553,3553,34037,3553,3553,3553,3553,3553,34037,3553,34037,34037 --video-image-texture-target=3553,3553,3553,3553,3553,34037,3553,3553,3553,3553,3553,34037,3553,34037,34037 --mojo-channel-token=1033129EB6078CD8016022EA165D39A6 --mojo-application-channel-token=D7ACD73629934234BBB269C728884C19 --channel=30874.5.357569244
  0.0 sam              32447 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper /Applications/Visual Studio Code.app/Contents/Resources/app/out/bootstrap --type=extensionHost
  0.0 sam              32448 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper ./terminalProcess
  0.0 sam              32513 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper /Applications/Visual Studio Code.app/Contents/Resources/app/out/bootstrap --type=watcherService
  0.0 sam              32647 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper /Applications/Visual Studio Code.app/Contents/Resources/app/out/bootstrap /usr/bin/git /Users/sam/Projects/pridiktiv/micro/syncers/geracc-lib utf8 /Applications/Visual Studio Code.app/Contents/MacOS/Electron 2.8.4 (Apple Git-73)
  0.0 sam              32698 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper /Users/sam/.vscode/extensions/Google.ng-template-0.0.10/node_modules/vscode-languageclient/lib/utils/electronForkStart /Users/sam/.vscode/extensions/Google.ng-template-0.0.10/server/server.js --node-ipc
  0.0 sam              32699 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/typescript/out/utils/electronForkStart /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/typescript/node_modules/typescript/lib/tsserver.js --useSingleInferredProject --enableTelemetry
  0.0 sam              32702 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/typescript/node_modules/typescript/lib/typingsInstaller.js --globalTypingsCacheLocation /Users/sam/Library/Application Support/Microsoft/TypeScript --enableTelemetry
  0.1 sam              36198 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper --type=renderer --no-sandbox --primordial-pipe-token=B453D5D4B7C4380AB69B6B523494A8FC --lang=en-GB --node-integration=true --background-color=#171717 --enable-pinch --num-raster-threads=4 --enable-zero-copy --disable-partial-raster --enable-gpu-memory-buffer-compositor-resources --content-image-texture-target=3553,3553,3553,3553,3553,34037,3553,3553,3553,3553,3553,34037,3553,34037,34037 --video-image-texture-target=3553,3553,3553,3553,3553,34037,3553,3553,3553,3553,3553,34037,3553,34037,34037 --mojo-channel-token=D5096BA464ABE5A54D6B25D61247CE0B --mojo-application-channel-token=B453D5D4B7C4380AB69B6B523494A8FC --channel=30874.7.89291054
  0.0 sam              36199 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper /Applications/Visual Studio Code.app/Contents/Resources/app/out/bootstrap --type=extensionHost
  0.0 sam              36200 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper ./terminalProcess
  0.0 sam              36231 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper /Applications/Visual Studio Code.app/Contents/Resources/app/out/bootstrap --type=watcherService
  0.0 sam              36290 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper /Applications/Visual Studio Code.app/Contents/Resources/app/out/bootstrap /usr/bin/git /Users/sam/Projects/pridiktiv/relay-eb utf8 /Applications/Visual Studio Code.app/Contents/MacOS/Electron 2.8.4 (Apple Git-73)
  0.0 sam              36458 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/json/node_modules/vscode-languageclient/lib/utils/electronForkStart /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/json/server/out/jsonServerMain.js --node-ipc
  0.0 sam              36472 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper /Users/sam/.vscode/extensions/Google.ng-template-0.0.10/node_modules/vscode-languageclient/lib/utils/electronForkStart /Users/sam/.vscode/extensions/Google.ng-template-0.0.10/server/server.js --node-ipc
  0.0 sam              36473 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper /Users/sam/.vscode/extensions/eg2.tslint-0.7.1/node_modules/vscode-languageclient/lib/utils/electronForkStart /Users/sam/.vscode/extensions/eg2.tslint-0.7.1/server/server.js --node-ipc
  0.0 sam              36474 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/typescript/out/utils/electronForkStart /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/typescript/node_modules/typescript/lib/tsserver.js --useSingleInferredProject --enableTelemetry
  0.0 sam              36476 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/typescript/node_modules/typescript/lib/typingsInstaller.js --globalTypingsCacheLocation /Users/sam/Library/Application Support/Microsoft/TypeScript --enableTelemetry
  0.1 sam              37105 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper --type=renderer --no-sandbox --primordial-pipe-token=B20B16497D62821042A8B0735432D622 --lang=en-GB --node-integration=true --background-color=#171717 --enable-pinch --num-raster-threads=4 --enable-zero-copy --disable-partial-raster --enable-gpu-memory-buffer-compositor-resources --content-image-texture-target=3553,3553,3553,3553,3553,34037,3553,3553,3553,3553,3553,34037,3553,34037,34037 --video-image-texture-target=3553,3553,3553,3553,3553,34037,3553,3553,3553,3553,3553,34037,3553,34037,34037 --mojo-channel-token=D9B480E19DC6715D68A74D8F52B0DDE1 --mojo-application-channel-token=B20B16497D62821042A8B0735432D622 --channel=30874.11.1823309001
  0.0 sam              37106 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper /Applications/Visual Studio Code.app/Contents/Resources/app/out/bootstrap --type=extensionHost
  0.0 sam              37107 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper /Applications/Visual Studio Code.app/Contents/Resources/app/out/bootstrap --type=watcherService
  0.0 sam              37111 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper /Applications/Visual Studio Code.app/Contents/Resources/app/out/bootstrap /usr/bin/git /Users/sam/Projects/playground/relay-test-got utf8 /Applications/Visual Studio Code.app/Contents/MacOS/Electron 2.8.4 (Apple Git-73)
  0.0 sam              37119 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper ./terminalProcess
  0.0 sam              37350 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper /Users/sam/.vscode/extensions/samverschueren.linter-xo-2.1.1/node_modules/vscode-languageclient/lib/utils/electronForkStart /Users/sam/.vscode/extensions/samverschueren.linter-xo-2.1.1/server/server.js --node-ipc
  0.0 sam              37481 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/typescript/out/utils/electronForkStart /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/typescript/node_modules/typescript/lib/tsserver.js --useSingleInferredProject --enableTelemetry
  0.0 sam              37482 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/typescript/node_modules/typescript/lib/typingsInstaller.js --globalTypingsCacheLocation /Users/sam/Library/Application Support/Microsoft/TypeScript --enableTelemetry
  0.1 sam              39637 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper --type=renderer --no-sandbox --primordial-pipe-token=3E9C934243664F3754CB1DFB74A3B026 --lang=en-GB --node-integration=true --background-color=#171717 --enable-pinch --num-raster-threads=4 --enable-zero-copy --disable-partial-raster --enable-gpu-memory-buffer-compositor-resources --content-image-texture-target=3553,3553,3553,3553,3553,34037,3553,3553,3553,3553,3553,34037,3553,34037,34037 --video-image-texture-target=3553,3553,3553,3553,3553,34037,3553,3553,3553,3553,3553,34037,3553,34037,34037 --mojo-channel-token=BBB06B7136A5E0AD1B77A2B30F86EB08 --mojo-application-channel-token=3E9C934243664F3754CB1DFB74A3B026 --channel=30874.12.1774011271
  0.0 sam              39638 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper /Applications/Visual Studio Code.app/Contents/Resources/app/out/bootstrap --type=extensionHost
  0.0 sam              39639 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper /Applications/Visual Studio Code.app/Contents/Resources/app/out/bootstrap --type=watcherService
  0.0 sam              39643 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper /Applications/Visual Studio Code.app/Contents/Resources/app/out/bootstrap /usr/bin/git /Users/sam/Projects/pridiktiv/micro/syncers/sync-patient utf8 /Applications/Visual Studio Code.app/Contents/MacOS/Electron 2.8.4 (Apple Git-73)
  0.0 sam              39666 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/typescript/out/utils/electronForkStart /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/typescript/node_modules/typescript/lib/tsserver.js --useSingleInferredProject --enableTelemetry
  0.0 sam              39667 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper /Users/sam/.vscode/extensions/samverschueren.linter-xo-2.1.1/node_modules/vscode-languageclient/lib/utils/electronForkStart /Users/sam/.vscode/extensions/samverschueren.linter-xo-2.1.1/server/server.js --node-ipc
  0.0 sam              39670 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/typescript/node_modules/typescript/lib/typingsInstaller.js --globalTypingsCacheLocation /Users/sam/Library/Application Support/Microsoft/TypeScript --enableTelemetry
  0.0 sam              39723 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper ./terminalProcess
  0.0 sam              40326 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper /Users/sam/.vscode/extensions/Google.ng-template-0.0.10/node_modules/vscode-languageclient/lib/utils/electronForkStart /Users/sam/.vscode/extensions/Google.ng-template-0.0.10/server/server.js --node-ipc
  0.0 sam              41755 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper --type=renderer --no-sandbox --primordial-pipe-token=36EC79D0E636392CBEC0EEB34824B9F5 --lang=en-GB --node-integration=true --background-color=#171717 --enable-pinch --num-raster-threads=4 --enable-zero-copy --disable-partial-raster --enable-gpu-memory-buffer-compositor-resources --content-image-texture-target=3553,3553,3553,3553,3553,34037,3553,3553,3553,3553,3553,34037,3553,34037,34037 --video-image-texture-target=3553,3553,3553,3553,3553,34037,3553,3553,3553,3553,3553,34037,3553,34037,34037 --mojo-channel-token=A727A2AADB5395CA61175E3F7DED0F4D --mojo-application-channel-token=36EC79D0E636392CBEC0EEB34824B9F5 --channel=30874.15.1272910025
  0.0 sam              41756 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper /Applications/Visual Studio Code.app/Contents/Resources/app/out/bootstrap --type=extensionHost
  0.0 sam              41757 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper /Applications/Visual Studio Code.app/Contents/Resources/app/out/bootstrap --type=watcherService
  0.0 sam              41761 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper /Applications/Visual Studio Code.app/Contents/Resources/app/out/bootstrap /usr/bin/git /Users/sam/Projects/pridiktiv/micro/user utf8 /Applications/Visual Studio Code.app/Contents/MacOS/Electron 2.8.4 (Apple Git-73)
  0.0 sam              41783 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/typescript/out/utils/electronForkStart /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/typescript/node_modules/typescript/lib/tsserver.js --useSingleInferredProject --enableTelemetry
  0.0 sam              41785 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper /Users/sam/.vscode/extensions/samverschueren.linter-xo-2.1.1/node_modules/vscode-languageclient/lib/utils/electronForkStart /Users/sam/.vscode/extensions/samverschueren.linter-xo-2.1.1/server/server.js --node-ipc
  0.0 sam              41788 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/typescript/node_modules/typescript/lib/typingsInstaller.js --globalTypingsCacheLocation /Users/sam/Library/Application Support/Microsoft/TypeScript --enableTelemetry
  0.1 sam              41827 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper --type=renderer --no-sandbox --primordial-pipe-token=89CA375F76F228D695C78D389E7FA7A5 --lang=en-GB --node-integration=true --background-color=#171717 --enable-pinch --num-raster-threads=4 --enable-zero-copy --disable-partial-raster --enable-gpu-memory-buffer-compositor-resources --content-image-texture-target=3553,3553,3553,3553,3553,34037,3553,3553,3553,3553,3553,34037,3553,34037,34037 --video-image-texture-target=3553,3553,3553,3553,3553,34037,3553,3553,3553,3553,3553,34037,3553,34037,34037 --mojo-channel-token=793B78FA9C5EDEA692AC8E80FE4EEA1D --mojo-application-channel-token=89CA375F76F228D695C78D389E7FA7A5 --channel=30874.16.2023094122
  0.0 sam              41828 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper /Applications/Visual Studio Code.app/Contents/Resources/app/out/bootstrap --type=extensionHost
  0.0 sam              41829 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper ./terminalProcess
  0.0 sam              41884 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper /Applications/Visual Studio Code.app/Contents/Resources/app/out/bootstrap --type=watcherService
  0.0 sam              42028 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper /Applications/Visual Studio Code.app/Contents/Resources/app/out/bootstrap /usr/bin/git /Users/sam/Projects/pridiktiv/micro/patientmedinfo utf8 /Applications/Visual Studio Code.app/Contents/MacOS/Electron 2.8.4 (Apple Git-73)
  0.0 sam              42086 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper /Users/sam/.vscode/extensions/samverschueren.linter-xo-2.1.1/node_modules/vscode-languageclient/lib/utils/electronForkStart /Users/sam/.vscode/extensions/samverschueren.linter-xo-2.1.1/server/server.js --node-ipc
  0.0 sam              42087 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/typescript/out/utils/electronForkStart /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/typescript/node_modules/typescript/lib/tsserver.js --useSingleInferredProject --enableTelemetry
  0.0 sam              42090 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/typescript/node_modules/typescript/lib/typingsInstaller.js --globalTypingsCacheLocation /Users/sam/Library/Application Support/Microsoft/TypeScript --enableTelemetry
  0.0 sam              42261 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/json/node_modules/vscode-languageclient/lib/utils/electronForkStart /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/json/server/out/jsonServerMain.js --node-ipc
  0.0 sam              44268 grep Code

@Julien-Mialon Yours is just the main vscode renderer process. Is there something in particular you did to trigger it?
@SamVerschueren Yours looks like a language server from the extension Google.ng-template, can you file an issue on them?

@roblourens Just opening a file (a file in particular, I tried 4 or 5 times and every time vscode get stucked)

Just this file? Can you share the file?

Also you can try launching with code --disable-extensions and checking whether it still happens?

@roblourens it does not happen with --disable-extensions just updated the C# extensions to new version 1.6.2 and now it works.
I can share the file if still needed.
Thanks

Thanks @Julien-Mialon, if an extension update fixed it, then it's probably something they know about. For future reference you can find their issues here - https://github.com/OmniSharp/omnisharp-vscode.
@SamVerschueren's issue also seems to be from an extension, so I'm going to close this issue.

@roblourens Thanks for the information! It was resolved by disabling that extension.

@stormwarning
The issue with the sass-lint extension should be fixed in v0.0.4.
Apologies for the inconvenience.

0.0 macbook            316 /Applications/Visual Studio Code.app/Contents/MacOS/Electron -psn_0_65552
0.0 macbook            390 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper --type=gpu-process --no-sandbox --supports-dual-gpus=false --gpu-driver-bug-workarounds=0,1,10,23,25,35,38,45,51,59,61,62,63,64,66,70,71,73,81,82,83,86,88,89 --gpu-vendor-id=0x8086 --gpu-device-id=0x1626 --gpu-driver-vendor --gpu-driver-version --gpu-driver-date --gpu-active-vendor-id=0x8086 --gpu-active-device-id=0x1626 --service-request-channel-token=AB0B99BCFDD27B1BB42C97B1AFFDE211
0.0 macbook            407 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper --type=renderer --js-flags=--nolazy --no-sandbox --primordial-pipe-token=4AA04EA3033057153D32EF377F4302BF --lang=zh-CN --node-integration=true --hidden-page --enable-pinch --num-raster-threads=2 --enable-gpu-rasterization --enable-zero-copy --enable-gpu-memory-buffer-compositor-resources --enable-main-frame-before-activation --content-image-texture-target=0,0,3553;0,1,3553;0,2,3553;0,3,3553;0,4,3553;0,5,3553;0,6,3553;0,7,3553;0,8,3553;0,9,3553;0,10,34037;0,11,34037;0,12,34037;0,13,3553;0,14,3553;0,15,3553;1,0,3553;1,1,3553;1,2,3553;1,3,3553;1,4,3553;1,5,3553;1,6,3553;1,7,3553;1,8,3553;1,9,3553;1,10,34037;1,11,34037;1,12,34037;1,13,3553;1,14,3553;1,15,3553;2,0,3553;2,1,3553;2,2,3553;2,3,3553;2,4,3553;2,5,34037;2,6,3553;2,7,3553;2,8,3553;2,9,3553;2,10,3553;2,11,3553;2,12,34037;2,13,3553;2,14,34037;2,15,34037;3,0,3553;3,1,3553;3,2,3553;3,3,3553;3,4,3553;3,5,34037;3,6,3553;3,7,3553;3,8,3553;3,9,3553;3,10,3553;3,11,3553;3,12,34037;3,13,3553;3,14,34037;3,15,34037 --service-request-channel-token=4AA04EA3033057153D32EF377F4302BF --renderer-client-id=6
0.0 macbook            538 /Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Resources/crashpad_handler --database=/var/folders/yt/d2nmlvl564s4vkf3bln001rw0000gn/T/VSCode Crashes --metrics-dir=/var/folders/yt/d2nmlvl564s4vkf3bln001rw0000gn/T/VSCode Crashes --url=https://ticinocrashreporter.azurewebsites.net/crash --handshake-fd=57
0.0 root             13018 /System/Library/Frameworks/Security.framework/Versions/A/XPCServices/com.apple.CodeSigningHelper.xpc/Contents/MacOS/com.apple.CodeSigningHelper
0.0 macbook          15346 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper --type=renderer --js-flags=--nolazy --no-sandbox --primordial-pipe-token=2D96CF1DCDB557E159A25E8960C00D5C --lang=zh-CN --node-integration=true --background-color=#282c34 --disable-blink-features=Auxclick --enable-pinch --num-raster-threads=2 --enable-gpu-rasterization --enable-zero-copy --enable-gpu-memory-buffer-compositor-resources --enable-main-frame-before-activation --content-image-texture-target=0,0,3553;0,1,3553;0,2,3553;0,3,3553;0,4,3553;0,5,3553;0,6,3553;0,7,3553;0,8,3553;0,9,3553;0,10,34037;0,11,34037;0,12,34037;0,13,3553;0,14,3553;0,15,3553;1,0,3553;1,1,3553;1,2,3553;1,3,3553;1,4,3553;1,5,3553;1,6,3553;1,7,3553;1,8,3553;1,9,3553;1,10,34037;1,11,34037;1,12,34037;1,13,3553;1,14,3553;1,15,3553;2,0,3553;2,1,3553;2,2,3553;2,3,3553;2,4,3553;2,5,34037;2,6,3553;2,7,3553;2,8,3553;2,9,3553;2,10,3553;2,11,3553;2,12,34037;2,13,3553;2,14,34037;2,15,34037;3,0,3553;3,1,3553;3,2,3553;3,3,3553;3,4,3553;3,5,34037;3,6,3553;3,7,3553;3,8,3553;3,9,3553;3,10,3553;3,11,3553;3,12,34037;3,13,3553;3,14,34037;3,15,34037 --service-request-channel-token=2D96CF1DCDB557E159A25E8960C00D5C --renderer-client-id=21
0.0 macbook          15349 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper /Applications/Visual Studio Code.app/Contents/Resources/app/out/bootstrap --type=extensionHost
0.0 macbook          15350 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper /Applications/Visual Studio Code.app/Contents/Resources/app/out/bootstrap --type=watcherService
0.0 macbook          15352 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper /Users/macbook/.vscode/extensions/dbaeumer.vscode-eslint-1.2.8/node_modules/vscode-languageclient/lib/utils/electronForkStart /Users/macbook/.vscode/extensions/dbaeumer.vscode-eslint-1.2.8/server/server.js --node-ipc
0.0 macbook          15354 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/typescript/out/utils/electronForkStart /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js --useSingleInferredProject --enableTelemetry --cancellationPipeName /var/folders/yt/d2nmlvl564s4vkf3bln001rw0000gn/T/vscode-tscancellation-dd817313a360c67016fc.sock*
0.0 macbook          15363 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/typingsInstaller.js --globalTypingsCacheLocation /Users/macbook/Library/Caches/typescript --enableTelemetry
0.0 macbook          19346 grep --color=auto --exclude-dir=.bzr --exclude-dir=CVS --exclude-dir=.git --exclude-dir=.hg --exclude-dir=.svn Code

@chrmarti is there a straightforward explanation of how to determine what extension is the culprit of runaway CPU usage from the output of ps? I would just dump mine here too but "teach a man to fish" and all... I'd love to learn how to interpret this so I can root out offending plugins on my own! Thanks!

@gnowland You can tell by the --type parameter of the Code Helper which part of the application the process is running (e.g., searchService, renderer, extensionHost), but not which extension the extensionHost is currently running.
@roblourens Is it still/again possible to nudge the extension host process into debug mode?

Yes but not if it's stuck in a busy loop.

authors: Julien-Mialon SamVerschueren chrmarti glen-84 gnowland modarend roblourens shanalikhan stormwarning


text:
User settings reset/lost on upgrade

After the upgrade to 1.10.0 I lost all my user and workspace settings.
The only setting that seems to have survived is my theme.
Here is my new settings.json:
{
  "workbench.colorTheme": "Solarized Light"
}

If I can find/get out of a backup my old one, I'll add it to this issue.

VSCode Version: Code 1.10.0 (49129d126e2c3c5592cfc8a509d872067b69d262, 2017-03-01T15:53:09.975Z)
OS Version: Darwin x64 16.4.0
Extensions:

Extension
Author
Version

EditorConfig
EditorConfig
0.3.4

vscode-docker
PeterJausovec
0.0.12

git-easy
bibhasdn
1.9.1

jshint
dbaeumer
0.10.15

vscode-eslint
dbaeumer
1.2.7

githistory
donjayamanne
0.1.5

tslint
eg2
0.8.1

csharp
ms-vscode
1.7.0

jscs
ms-vscode
0.1.9

debugger-for-chrome
msjsdiag
2.5.5

addDocComments
stevencl
0.0.8

code-spell-checker
streetsidesoftware
0.17.2

Steps to Reproduce (speculative):

with my plugins and my original settings
upgrade to 1.10.0

Here is what my settings were before:
// Place your settings in this file to overwrite the default settings
{
	"editor.rulers": [80,	100, 120, 150],
	"editor.tabSize": 2,
	"editor.wrappingColumn": 0,
	"editor.wrappingIndent": "indent",
	"editor.acceptSuggestionOnEnter": false,
	"editor.folding": false,
	"editor.trimAutoWhitespace": false,

	"diffEditor.renderSideBySide": false,

	"files.watcherExclude": {
		"**/.git/objects/**": true,
		"**/bower_components/**": true,
		"**/node_modules/**": true
	},
  "search.exclude": {
		"**/bower_components": true,
		"**/node_modules": true,
		"**/coverage": true,
		"**/typings": true,
		"dist": true
  },

  "jscs.disableIfNoConfig": true,

	"explorer.openEditors.visible": 0,
	"workbench.editor.showTabs": false,
	"window.reopenFolders": "all",

  "terminal.external.osxExec": "iTerm.app",
  "git.confirmSync": false,
  "window.zoomLevel": 0,

  "cSpell.userWords": [
    "semver",
    "SIGINT",
    "SIGHUP",
    "callee",
    "dereferenced",
    "Schemas",
    "nbsp",
    "etag",
    "instantquote",
    "nbind",
    "nodeify",
    "Pageview",
    "npost",
    "yaml",
    "Eventbus",
    "blueoak",
    "preversion"
  ],
  "editor.renderWhitespace": "none",
  "editor.renderControlCharacters": false
}

I see that "editor.wrappingColumn" is identified as 'Unknown configuration setting' in 1.10.0

fwiw, I've restored my settings from backup and had to make these changes:

replace the "editor.wrappingColumn" line with "editor.wordWrap": "on"
add back the only setting in place after the upgrade, i.e. "workbench.colorTheme": "Solarized Light"

Same here, that was a waste of 20 minutes to get it back to normal (no backups).  I'm not sure I remembered everything either.

@seanpk Thanks a lot for sharing the options. That's very useful.
I tried to reproduce the issue with the given settings, but wasn't able. The text edits computed where correct and the new setting properly added. So it looks like it doesn't have to do with the actual settings content. Maybe something in the ConfigurationEditingService
@sandy081 Can you help chasing this down?

For what it's worth, had the same experience. My user settings were wiped after the update, with the exception of the UI theme, which was still remembered for some reason. Latest OS X.

@seanpk Were you using any icon theme in 1.9?

@sandy081 no icon theme

I lost my settings too

#21750 pushed to release/1.10

Lost my config too,
considering to abandon vscode studio ...

@stickyhands Very sorry for it.
May I know, how did you loose it ?
Is it during an upgrade ? If so, from which version you are upgrading?

I've just spent over an hour configuring my settings including ~10 custom Vim shortcuts. Then a popup showed up saying VSCode had to restart because of some functionality (update perhaps? can't remember exactly, no idea what version I had before it)
Then BAM, all my settings are gone...
I was really considering switching from Atom to VSCode.

feels like vs code still has this problem. I have recently lost my settings for the second time. That's very annoying even with a backup. First time it was caused by an update, second time not sure what caused it...

Please file a new issue with details on how it happened.

Why don't you just make it so that the configuration file cannot be overwritten by empty content?!

authors: aeschli awebdev bugpowder evanfuture qoops-1 richarddewit sandy081 seanpk stickyhands


text:
Quite light: selection + git add + highlight = bad combination

Make some changes in a file
Open that file in git diff view
Highlight the star like I am doing in the example below.
Notice that the highlight color is stronger than the git green, it should not be

With highlight you mean select?
Please file this against the author of the Quite light theme.

authors: aeschli isidorn


text:
Pasting a file to a file should paste a copy of the file

VSCode Version: 1.11.1
OS Version: Windows

Steps to Reproduce:

Open Explorer
Right click -> copy a file

Expectation : right click on same file -> paste will paste a copy in the same folder
Actual: need to scroll up to find the folder then paste there.

While this works when using keybindings, it does not from the menu.

@bpasero thanks for the workaround

authors: bpasero trajano


text:
Strange boxes

Hi VS Code team. I love the app and use it a bunch, thank you!
I have one problem though. These (what I can only call) strange boxes often appear on the editor no matter what theme I am using. The frustrating thing is that these boxes often move and blink whilst I'm typing.
Is this an VS Code problem or something else?
What do you think the problem could be? I've attached pictures to help explain.

VSCode Version: Code 1.11.2 (6eaebe3b9c70406d67c97779468c324a7a95db0e, 2017-04-13T07:56:42.517Z)
OS Version: Darwin x64 16.5.0
Extensions:

Extension
Author
Version

xml
DotJoshJohnson
1.7.0

vscode-paste-and-indent
Rubymaniac
0.0.8

html-css-class-completion
Zignd
1.1.0

html-snippets
abusaidm
0.1.0

open-html-in-browser
coderfee
0.0.7

jquerysnippets
donjayamanne
0.0.1

auto-close-tag
formulahendry
0.3.12

auto-rename-tag
formulahendry
0.0.11

mssql
ms-mssql
0.3.0

debugger-for-chrome
msjsdiag
3.1.1

color-highlight
naumovs
2.1.3

vscode-icons
robertohuertasm
7.6.0

Material-theme
zhuangtongfa
2.6.3

Steps to Reproduce:

Just open a file and it shows in the editor.

This is #12473

authors: JonathanCopeland bpasero


text:
command + C does not effect on Mac

VSCode Version: Code 1.11.2 (6eaebe3b9c70406d67c97779468c324a7a95db0e, 2017-04-13T07:56:42.517Z)
OS Version: Darwin x64 16.5.0
Extensions: none

Steps to Reproduce:

command + C on keyboard and with menu does not work.
Command + C is working on any other software but not in Visual Studio Code.

This is funny but as an old windows user when I restart Mac then everything is perfect 👌.
Maybe VMware or Microsoft Remote Desktop causing this effect. I am not sure.
Command + C is working on safari but not working most text editor like vscode or Atom etc.

Thanks for report. Nothing we can do at this moment as we can't reproduce.

authors: kieferrm mbudak