Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Which UI Framework does VS Code use? #99845

Closed
Kriegel opened this issue Jun 11, 2020 · 5 comments
Closed

Which UI Framework does VS Code use? #99845

Kriegel opened this issue Jun 11, 2020 · 5 comments
Assignees
Labels
*question Issue represents a question, should be posted to StackOverflow (VS Code)

Comments

@Kriegel
Copy link

Kriegel commented Jun 11, 2020

HI,

I have investigated this question extensivly and even found no Forum for Visual Studio Code.

I am an Administrator with PowerShell no Programmer so please bear with me.

I like to develop an UI for PowerShell scripts with the Electron + Node.js + jquery + ?????
(Like shown here: https://xainey.github.io/2017/powershell-electron-demo/ )

For some reasons, like to use the same UI Framework like VS Code.

A sneak look into the source of Visual Studio Code it looks like VS Code uses mainly Bootstrap as UI Framewok ??????

Second: Please put this answer, also in the Documentation for Visual Studio Code.
Which i have searched for also.

Cheers Peter

@bpasero bpasero added the *question Issue represents a question, should be posted to StackOverflow (VS Code) label Jun 11, 2020
@Kriegel
Copy link
Author

Kriegel commented Jun 11, 2020

Thank you!
I go there, but find it kidding ...
Read here
#21685

For German i found one Forum.
https://social.msdn.microsoft.com/Forums/de-de/home?forum=vscodede

@Kriegel
Copy link
Author

Kriegel commented Jun 16, 2020

My Question on Stackoverflow got closed.
https://stackoverflow.com/questions/62321838/which-ui-framework-does-visual-sudio-code-use-vs-code-or-vscode

So I have still no Answer...

Where did somebody go to ask dumb newbee questions ??
What a mad World. Nuts ... Nuts ...

@TotooriaHyperion
Copy link

TotooriaHyperion commented Jul 7, 2020

I have read some code, I find vscode didn't use any UI framework but it's own.
I'm searching for why vscode don't use UI framework and find your question.
I think it might be a performance issue, because we know the markup-based, immutable, declarative ui is slower than a mutable object tree with imperative code style to describe a gui.

In famous framework as React/Vue, we write JSX/template to create an object tree to describe the view, then the runtime use that tree to generate a component tree combine with v-dom tree, and render it into browser.
JSX/template -> object tree -> v-dom tree + component tree -> dom
nextView = nextState -> new object tree -> patch v-dom tree -> diff -> patch dom.
It's much slower than
mutable tree -> dom
update tree -> update dom.

@Kriegel
Copy link
Author

Kriegel commented Jul 7, 2020

@TotooriaHyperion Thank you VERY much for this clarification and speed lesson.

@github-actions github-actions bot locked and limited conversation to collaborators Jul 26, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*question Issue represents a question, should be posted to StackOverflow (VS Code)
Projects
None yet
Development

No branches or pull requests

4 participants
@bpasero @Kriegel @TotooriaHyperion and others