profile
viewpoint
Jun Han formulahendry @Microsoft Shanghai, China https://www.zhihu.com/people/formulahendry 《Visual Studio Code 权威指南》 作者,公众号“HJ说”

formulahendry/955.WLB 20715

955 不加班的公司名单 - 工作 955,work–life balance (工作与生活的平衡)

formulahendry/awesome-vscode-cn 662

中文版 Awesome VS Code

formulahendry/1155.Life 266

996.ICU 的反向 repo: 11-5-5 工作制 - 工作 11-5-5,生活为先

Azure/azure-docs-powershell-samples 123

Azure Powershell code samples, often used in docs.microsoft.com/Azure developer documentation

Azure-Samples/azure-cli-samples 103

Contains Azure CLI scripts samples used for documentation at https://docs.microsoft.com

formulahendry/awesome-azure-iot 99

A curated list of awesome Azure Internet of Things projects and resources.

Azure/device-discovery-cli 18

device discovery and management command line utility

formulahendry/996.ICU 4

Repo for counting stars and contributing. Press F to pay respect to glorious developers.

formulahendry/azure-iot-toolkit-for-mobile 3

Azure IoT Toolkit for Android, iOS and Windows Phone

formulahendry/CodeRunnerVS 3

Code Runner for Visual Studio

push eventformulahendry/weapp-955-wlb

formulahendry

commit sha 51e734adf19b241d9da951095e63b5a2a8871405

Update project.config.json

view details

push time in 3 days

push eventformulahendry/weapp-955-wlb

formulahendry

commit sha b5481ff4bfdab2ce20ca01f8b4acaa0ee9162186

Add 14 companies

view details

formulahendry

commit sha 3175ba2fffe7731df63bae56421e140d50a58292

Update QR image

view details

push time in 3 days

push eventformulahendry/955.WLB

formulahendry

commit sha 1e32b79c240f1b8b00eede4c07cba94c8b9ce371

Add 14 companies

view details

push time in 4 days

issue closedformulahendry/955.WLB

你好,每观微信小程序新增955

关于955模块

  • 支持搜索
  • 数据和955.WLB同步

截图预览

closed time in 4 days

it5200

push eventformulahendry/vscode-dotnet-test-explorer

formulahendry

commit sha ebe7779a1cb0927e21c6899e8943d6d09a8367c7

0.7.4

view details

push time in 9 days

issue commentmicrosoft/vscode-azure-iot-tools

Unable to list modules on IoT Edge Device provisioned via DPS

Thank you for reporting this! Listing modules from a device that is not created with Symmetric key is not supported yet. Mark it as 'Feature Request'

junsaw

comment created time in 11 days

MemberEvent

push eventformulahendry/formulahendry

Jun Han

commit sha d3f4122e805b867157a1c441ae18251cf98b15ca

Update README.md

view details

push time in a month

create barnchformulahendry/formulahendry

branch : master

created branch time in a month

created repositoryformulahendry/formulahendry

created time in a month

issue commentmicrosoft/vscode-azurefunctions

Deploy Azure Function project in sub folder

As we have several projects in the workspace, we want to generate launch.json and tasks.json by ourselves during project scaffolding. So I want to confirm whether projectRuntime and projectLanguage are enough to make that..

formulahendry

comment created time in a month

issue openedmicrosoft/vscode-azurefunctions

Deploy Azure Function project in sub folder

I am trying to deploy an Azure Function project in sub folder, however I meet with below popup. image

From the code, it seems azureFunctions.projectRuntime and azureFunctions.projectLanguage are required in settings.json https://github.com/microsoft/vscode-azurefunctions/blob/9d9a73014c5edb17db523ba907ab017ff005dabb/src/vsCodeConfig/verifyInitForVSCode.ts#L22

I need to add below settings.json to skip the popup, if I want to deploy an Azure Function project in sub folder. But I am not sure whether it is a best practise.

image

So I want to know whether there is a better way to deploy an Azure Function project in sub folder? Thanks!

created time in a month

issue openedmicrosoft/azure-maven-archetypes

Update IoT Hub Java Device Client version to latest

https://github.com/microsoft/azure-maven-archetypes/blob/8117d3ce12b4c1cac613bcc5a4b07d43c98bf200/azure-iot-edge-archetype/src/main/resources/archetype-resources/pom.xml#L17

created time in a month

issue closedformulahendry/vscode-code-runner

Update the API usage to fetch interpreter path

@formulahendry Apologies, It turns out we are updating the API again (https://github.com/microsoft/vscode-python/issues/12596). You'll have to change the usage accordingly,

  • Introduce a flag in your package.json file so we can ask users to upgrade code runner (https://github.com/microsoft/vscode-python/pull/12765#issuecomment-654320227)
  • Add yet another condition which introspect what APIs we expose and choose which one to use. IOW do a hasattr check.

The PR is in review at the moment https://github.com/microsoft/vscode-python/issues/12596

I'll let you know when it's finalized after which you need to publish the code runner extension.

closed time in a month

karrtikr

issue commentformulahendry/vscode-code-runner

Update the API usage to fetch interpreter path

Hi @karrtikr , I have just published a new release.

karrtikr

comment created time in a month

push eventformulahendry/vscode-code-runner

formulahendry

commit sha da0d35c99464c621e6c554fce844256b43136902

0.11.0

view details

push time in a month

issue closedmicrosoft/vscode-azure-iot-toolkit

Azure IoT SaS token stored? and How to revoke?

Hi, I have two queries,

  1. Once I create SaS token for IoT Hub, where is it stored or is it stored anywhere in Azure?
  2. How to revoke the Old SaS Token.

closed time in a month

nishad1092

issue commentmicrosoft/vscode-azure-iot-toolkit

Azure IoT SaS token stored? and How to revoke?

For VS Code, it does not store SAS token. Closing this issue. Feel free to create a new issue or reopen this if you need more help.

nishad1092

comment created time in a month

push eventformulahendry/awesome-vscode-cn

formulahendry

commit sha 2b2a3abffa7db3144a3f3a11c98c6557a459cfdb

Add book for VS Code

view details

push time in a month

push eventformulahendry/vscode-auto-rename-tag

formulahendry

commit sha b70a7a112b7df0eafd879052de15fe9250012d5e

0.1.4

view details

push time in a month

push eventformulahendry/vscode-auto-close-tag

formulahendry

commit sha f0129c2b1179718dae927082720dd9c7cf127927

0.5.8

view details

push time in a month

issue commentformulahendry/vscode-code-runner

Update the API usage to fetch interpreter path

Hi @karrtikr , I have just committed the changes. Would you please have a try on the attached vsix file and see whether everything is expected from your side? code-runner-0.11.0-py.zip

If the changes are OK for you, I will publish a new release.

karrtikr

comment created time in a month

push eventformulahendry/vscode-code-runner

formulahendry

commit sha e63a4a7b1bb9ec4e66d404e80daec67dc36dd63e

Integrate with new Python Interpreter Path API V2 of Python extension

view details

push time in a month

push eventformulahendry/vscode-auto-close-tag

Gamliel

commit sha 8ebf179f275257ac5235dd97f4b1cf0344ac2989

Added disableOnLanguage (#175)

view details

push time in a month

PR merged formulahendry/vscode-auto-close-tag

Added disableOnLanguage

Sometimes you want the extension to be loaded on all languages except for one, so I think this setting is relevant.

+18 -1

0 comment

3 changed files

gamcoh

pr closed time in a month

push eventformulahendry/vscode-auto-rename-tag

Simon Siefke

commit sha d7c047f2fd5cae55511285c56b42e4970115f361

fix script and style rename (#544)

view details

push time in a month

PR merged formulahendry/vscode-auto-rename-tag

fix script and style rename

Fixes https://github.com/formulahendry/vscode-auto-rename-tag/issues/542

+76 -2

0 comment

2 changed files

SimonSiefke

pr closed time in a month

issue closedformulahendry/vscode-auto-rename-tag

Support rename script and style tag in HTML files

我试了下在HTML文件中不能同时重命名script的开关标签。

closed time in a month

humphreygao

issue commentformulahendry/vscode-code-runner

Update the API usage to fetch interpreter path

Yes it is. New flag name works for me, but please don't replace the old flag, just add a new one.

Sure!

karrtikr

comment created time in a month

issue commentformulahendry/vscode-code-runner

Update the API usage to fetch interpreter path

Is the new API in insider now? Then I will start the work to integrate with it. For thenew flag, I would call it 'usingNewPythonInterpreterPathApiV2' (https://github.com/formulahendry/vscode-code-runner/blob/master/package.json#L7). Is that OK?

karrtikr

comment created time in a month

push eventformulahendry/my-react-static-web-app

Azure Static Web Apps

commit sha 36429ad71df0fc4a294aba01db1adfe66584988b

ci: add Azure Static Web Apps workflow file

view details

push time in a month

create barnchformulahendry/my-react-static-web-app

branch : master

created branch time in a month

created repositoryformulahendry/my-react-static-web-app

created time in a month

issue commentmicrosoft/vscode-azure-iot-toolkit

Azure IoT SaS token stored? and How to revoke?

For the question you asked, it is not related to the VS Code extension. So I suggest you ask these questions in a proper place, as this GitHub repo is for the VS Code extension not the IoT Hub service.

nishad1092

comment created time in a month

issue commentmicrosoft/vscode-azure-iot-toolkit

Azure IoT SaS token stored? and How to revoke?

Hi @nishad1092 ,

  1. Are you using this extension to create the SaS token? This extension does not store the SaS token.
  2. Per the document https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-devguide-security#security-tokens, it did not mention about how to revoke the Old SaS Token. But you could set the expiry time of your SaS token when you create it.
nishad1092

comment created time in a month

push eventvscodecc/vscodecc

formulahendry

commit sha 22a0014328519130a322dffd284efa1ce61c1018

20200619-VSCodePython

view details

push time in 2 months

issue closedmicrosoft/vscode-azure-iot-toolkit

Extension causes high cpu load

vsciot-vscode.azure-iot-toolkit-unresponsive.cpuprofile.txt

  • Issue Type: Performance
  • Extension Name: azure-iot-toolkit
  • Extension Version: 2.16.0
  • OS Version: Windows_NT x64 10.0.18363
  • VSCode version: 1.41.1

:warning: Make sure to attach this file from your home-directory: :warning:C:\Users\hqvu6\vsciot-vscode.azure-iot-toolkit-unresponsive.cpuprofile.txt

Find more details here: https://github.com/microsoft/vscode/wiki/Explain-extension-causes-high-cpu-load

closed time in 2 months

hvuSyslogic

issue commentmicrosoft/vscode-azure-iot-toolkit

Extension causes high cpu load

Closing due to inactivity. Please reopen this issue or create a new issue if you need more help.

hvuSyslogic

comment created time in 2 months

issue commentmicrosoft/vscode-azure-iot-toolkit

Extension causes high cpu load

Hi, thanks for reporting this.

After investigating the logs, we need more information from your side:

  • Could you tell how the CPU high load would affect on the usage of VS Code?
  • From the logs, I see there are several extension in your VS Code. As all the extensions are running in the same process, they may have impact on each other. Would you please only enable this extension and see whether the issue still exists?

image

hvuSyslogic

comment created time in 2 months

push eventvscodecc/vscodecc

Jun Han

commit sha a8ed0423b20a64df94acf2fd4f6b3452df1a7aa4

Add video

view details

push time in 2 months

issue closedmicrosoft/vscode-azure-iot-toolkit

Extension issue

  • Issue Type: Bug
  • Extension Name: azure-iot-toolkit
  • Extension Version: 2.16.0
  • OS Version: Windows_NT x64 10.0.18363
  • VSCode version: 1.41.1

:warning: We have written the needed data into your clipboard. Please paste! :warning:

closed time in 2 months

hvuSyslogic

push eventformulahendry/vscode-dotnet-test-explorer

formulahendry

commit sha 34a15f24921752f48ddeb7d72dbc40caad0b44f1

0.7.3

view details

push time in 2 months

issue closedformulahendry/vscode-auto-close-tag

Hand this over.

Simple put. Hand your repo over to someone who has the effort to maintain it please. Why waste peoples time with something that's half-assed

closed time in 2 months

Sunhat

issue commentmicrosoft/vscode-azure-iot-toolkit

Unable to change the consumer group when monitoring an Event Hub

This is a feature request. Put it into our backlog.

tman915

comment created time in 2 months

created tagmicrosoft/vscode-azure-iot-toolkit

tagv2.16.2

Azure IoT Hub extension for Visual Studio Code

created time in 2 months

delete branch microsoft/vscode-azure-iot-toolkit

delete branch : jun-release2

delete time in 2 months

push eventmicrosoft/vscode-azure-iot-toolkit

Jun Han

commit sha 94bc4c9457cf1725f71e4876f48f71d0db9a698b

2.16.2 (#479)

view details

push time in 2 months

PullRequestEvent

PR opened microsoft/vscode-azure-iot-toolkit

Reviewers
2.16.2
+3 -3

0 comment

3 changed files

pr created time in 2 months

create barnchmicrosoft/vscode-azure-iot-toolkit

branch : jun-release2

created branch time in 2 months

create barnchmicrosoft/vscode-azure-iot-toolkit

branch : jun-release

created branch time in 2 months

pull request commentformulahendry/vscode-code-runner

Add support for Less.

Thanks @z0gSh1u !

z0gSh1u

comment created time in 2 months

push eventformulahendry/vscode-code-runner

X. Zhuo

commit sha d22c826cb5fec389f33cf0fff9ca56fe925cdad7

Add support for Less. (#625)

view details

push time in 2 months

PR merged formulahendry/vscode-code-runner

Add support for Less.

Less is a widely-used CSS preprocessor, just like Sass and SCSS. I've found that code-runner supports Sass and SCSS, so I add support for Less.

+3 -2

0 comment

1 changed file

z0gSh1u

pr closed time in 2 months

Pull request review commentformulahendry/vscode-code-runner

Add support for Less.

             ".v": "v run",             ".vsh": "v run",             ".sass": "sass --style expanded",-            ".cu": "cd $dir && nvcc $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt"+            ".cu": "cd $dir && nvcc $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt",+            ".less": "cd $dir && lessc $fileName $fileNameWithoutExt.css"

No need for this line of code, as less is pre-defined in VS Code: https://github.com/microsoft/vscode/tree/master/extensions/less

z0gSh1u

comment created time in 2 months

delete branch microsoft/vscode-azure-iot-toolkit

delete branch : jun-fix

delete time in 2 months

created tagmicrosoft/vscode-azure-iot-toolkit

tagv2.16.2-rc2

Azure IoT Hub extension for Visual Studio Code

created time in 2 months

push eventmicrosoft/vscode-azure-iot-toolkit

Jun Han

commit sha b1b131c8c37fc5b28db794d703cf40b60d1854e0

Filter more errorProperties (#477) * Filter more errorProperties * update * 2.16.2-rc2

view details

push time in 2 months

push eventmicrosoft/vscode-azure-iot-toolkit

Jun Han

commit sha 74dd609d146fb3c79eb2466d7f5f01501df0d19a

2.16.2-rc2

view details

push time in 2 months

issue closedmicrosoft/vscode-azure-iot-toolkit

Extension causes high cpu load

  • Issue Type: Performance
  • Extension Name: azure-iot-toolkit
  • Extension Version: 2.16.1
  • OS Version: Windows_NT x64 10.0.18363
  • VSCode version: 1.45.1

:warning: Make sure to attach this file from your home-directory: :warning:C:\Users\rmalipeddi\vsciot-vscode.azure-iot-toolkit-unresponsive.cpuprofile.txt

Find more details here: https://github.com/microsoft/vscode/wiki/Explain-extension-causes-high-cpu-load

closed time in 2 months

mark79github

issue commentmicrosoft/vscode-azure-iot-toolkit

Extension causes high cpu load

Closing due to inactivity. Please reopen this issue or create a new issue if you need more help.

mark79github

comment created time in 2 months

push eventmicrosoft/vscode-azure-iot-toolkit

Jun Han

commit sha 25aa442407442b5878fa8d2afed70a68b404844d

update

view details

push time in 2 months

Pull request review commentmicrosoft/vscode-azure-iot-toolkit

Filter more errorProperties

 export class Constants {         [TemplateLanguage.Ruby]: "ruby",
     };
 
+    // 'error', 'errorMessage' and 'stack' are used in vscode-azureextensionui npm

We could not control the telemetry property in vscode-azureextensionui package. I don't think we need to ask them to change telemetry property name.

formulahendry

comment created time in 2 months

Pull request review commentmicrosoft/vscode-azure-iot-toolkit

Filter more errorProperties

 export class Simulator {     if (eventName === Constants.SimulatorLaunchEvent) {       TelemetryClient.sendEvent(eventName, {         Result: result ? "Success" : "Fail",-        Error: result ? undefined : properties.error,+        [Constants.errorProperties.Message]: result ? undefined : properties.error,

Good catch!

formulahendry

comment created time in 2 months

push eventformulahendry/vscode-dotnet-test-explorer

formulahendry

commit sha bf33e464102b31d024a5dfb0fb77ee174018dc3d

0.7.2

view details

push time in 2 months

push eventvscodecc/vscodecc

formulahendry

commit sha f62d8af49573b12166db6e1825814cdc069d4bf1

VS Code Java

view details

push time in 2 months

create barnchmicrosoft/vscode-azure-iot-toolkit

branch : jun-fix

created branch time in 2 months

push eventformulahendry/vscode-auto-rename-tag

Simon Siefke

commit sha 005a88f4b65c69419fe9698cd0d7a97f29c35f82

fix: tag starting with $ (#541)

view details

push time in 3 months

PR merged formulahendry/vscode-auto-rename-tag

fix: tag starting with $

fixes https://github.com/formulahendry/vscode-auto-rename-tag/issues/528

+16 -1

0 comment

2 changed files

SimonSiefke

pr closed time in 3 months

issue commentmicrosoft/vscode-azure-iot-toolkit

Extension causes high cpu load

From the JavaScript Profiler, the most time is used in processTicksAndRejections() in task_queue.js. It is not the JavaScript in Azure IoT Hub extension.

image

One possible reason, there are other extensions having impact on Azure IoT Hub extension.

@mark79github , could you please let us know what impact on VS Code did you see when you see this warning. And if possible, could you please disable all other extensions, and see whether you could still meet with this extension?

mark79github

comment created time in 3 months

issue commentformulahendry/vscode-auto-rename-tag

Extension breaks html

Hi @SimonSiefke , I run npm run publish to do publishing. It is using the latest code.

jordyvandomselaar

comment created time in 3 months

created tagmicrosoft/vscode-azure-iot-toolkit

tagv2.16.2-rc

Azure IoT Hub extension for Visual Studio Code

created time in 3 months

delete branch microsoft/vscode-azure-iot-toolkit

delete branch : jun-release

delete time in 3 months

push eventmicrosoft/vscode-azure-iot-toolkit

Jun Han

commit sha a08950b6859d023eec7a56b7f05a08e127b8db06

2.16.2-rc (#476)

view details

push time in 3 months

PR opened microsoft/vscode-azure-iot-toolkit

Reviewers
2.16.2-rc
+8 -1

0 comment

2 changed files

pr created time in 3 months

create barnchmicrosoft/vscode-azure-iot-toolkit

branch : jun-release

created branch time in 3 months

delete branch microsoft/vscode-azure-iot-toolkit

delete branch : jun-webview

delete time in 3 months

push eventmicrosoft/vscode-azure-iot-toolkit

Jun Han

commit sha b7b00524eb3f98fb5e8fa2b9b69710ab12bf7fad

Resolve #473: Adopt VS Code's 'asWebviewUri' API (#474)

view details

push time in 3 months

issue closedmicrosoft/vscode-azure-iot-toolkit

Adopt VS Code's 'asWebviewUri' API

Hi, I maintain VS Code's Webview API

Issue

Our telemetry suggests that your extension uses webviews and may be loading resources in these webviews using hardcoded vscode-resource: URIs. These URIs have some important limitations and don't work properly when VS Code is run in a browser. We are also making changes in the desktop version of VS Code that may cause these URIs to not work properly in future versions of VS Code.

While we are making our best effort to continue support existing webview extensions that use vscode-resource: URIs on desktop versions of VS Code, we will not able to fully support all uses cases.

Fix

To ensure that your extension continues to work in as many environments as possible—including on web and remotely—please:

These APIs shipped around 2 years ago so they should be available in all modern versions of VS Code. You can find additional information about the issue here: https://github.com/microsoft/vscode/issues/97962

Let me know if you have any questions about this change

closed time in 3 months

mjbvz

create barnchmicrosoft/vscode-azure-iot-toolkit

branch : jun-webview

created branch time in 3 months

delete branch microsoft/vscode-azure-iot-toolkit

delete branch : jun-error-telemetry

delete time in 3 months

push eventmicrosoft/vscode-azure-iot-toolkit

Jun Han

commit sha 5207e0c5746fb7c88e970da9bb67ed1594267202

Use new API to send error telemetry (#472) * Use new API to send error telemetry * Ignore optional packages which used by vscode-extension-telemetry * Add detailedMessage in errorProperties * Make error properties as constant

view details

push time in 3 months

push eventmicrosoft/vscode-azure-iot-toolkit

Jun Han

commit sha 28e4c520676114f1c44f2279bcccd9f504e94373

Make error properties as constant

view details

push time in 3 months

pull request commentformulahendry/vscode-auto-rename-tag

Use 'renameOnType' if enabled

Thanks @aeschli ! I have just published a new release. One thing I want to mention is: with the help of @SimonSiefke , we have totally re-written the extension last month. There is no 'high cpu load' issue in recent one month. And the rating of this extension becomes good now. image

I think the extension is OK to cover other languages. 😄

aeschli

comment created time in 3 months

push eventformulahendry/vscode-auto-rename-tag

formulahendry

commit sha e32794b9f4b404a2876fce71a58daf6c37d87466

0.1.3

view details

push time in 3 months

push eventformulahendry/vscode-auto-rename-tag

Martin Aeschlimann

commit sha 0e74842aadb45ac1006a7749e974cded5e7494d9

Use 'renameOnType' if enabled (#539)

view details

push time in 3 months

PR merged formulahendry/vscode-auto-rename-tag

Use 'renameOnType' if enabled

Since 1.44, VS Code offers the built-in Rename On Type support for HTML and Handlebars that can be enabled with the setting editor.renameOnType (currently turned off by default),

In order to avoid conflict and duplicate computations, this PR changes that if the editor.renameOnType. setting is enabled for a given 'html' or 'handlebar' document, the extension skips the document regardless of the languages listed in auto-rename-tag.activationOnLanguage

+22 -10

0 comment

2 changed files

aeschli

pr closed time in 3 months

Pull request review commentmicrosoft/vscode-azure-iot-toolkit

Use new API to send error telemetry

 import { Utility } from "./utility"; const packageJSON = vscode.extensions.getExtension(Constants.ExtensionId).packageJSON;
 const extensionVersion: string = packageJSON.version;
 const aiKey: string = packageJSON.aiKey;
+const errorProperties = ["Message", "error"];

Yes. For example:

TelemetryClient.sendEvent(Constants.IoTHubAIEdgeDeployDoneEvent, { Result: "Fail", Message: err, detailedMessage, entry, from })
formulahendry

comment created time in 3 months

push eventmicrosoft/vscode-azure-iot-toolkit

Jun Han

commit sha 31c06bfb452d411b5337fb987e65c595c05f4c2c

Add detailedMessage in errorProperties

view details

push time in 3 months

push eventmicrosoft/vscode-azure-iot-toolkit

Jun Han

commit sha d0787ce6384a997f69e044db854a07f18d8d5e44

Ignore optional packages which used by vscode-extension-telemetry

view details

push time in 3 months

more