How to Code a VSCode Extension

Поділитися
Вставка
  • Опубліковано 20 жов 2024

КОМЕНТАРІ • 321

  • @japroz
    @japroz 3 роки тому +174

    All of the tutorials on UA-cam to make a VSCode extension just make a snippet extension. This is the tutorial on how to make a real VsCode extension. Grt job Ben 👍

  • @ziaahmad8738
    @ziaahmad8738 3 роки тому +288

    damn, dude just created a freakin course. I will watch it soon.

    • @jerrywang1480
      @jerrywang1480 3 роки тому +40

      *Adds the video to Watch Later and never open it again*

    • @cryptodeveloper
      @cryptodeveloper 3 роки тому +25

      @@jerrywang1480 the 3418 videos in my watch later playlist tend to agree.

    • @ziaahmad8738
      @ziaahmad8738 3 роки тому +7

      @@jerrywang1480 no it's more like I have no plan to build any extension at the moment. Also, I am kind of learning some other stuff these days so no time for this.

    • @greaper3180
      @greaper3180 3 роки тому

      @Zia Ahmad, so did you watch it?

    • @ziaahmad8738
      @ziaahmad8738 3 роки тому +1

      @@greaper3180 nope, i am learning react these days

  • @kimberlyying6427
    @kimberlyying6427 3 роки тому +21

    Took me almost 2 weeks but finally got through it all. Thank you so much for the tutorial! It is super helpful that you talk aloud and explain things when you are troubleshooting and also that you keep in good spirits! Troubleshooting and setting up coding workspaces can be frustrating, but you are always so calm and down to earth when it happens. Please keep the videos coming :)

  • @whojr-nothingisimpossiblei3974

    This is an amazing tutorial that combines vscode extension api/rest/svelte/typeorm/express/typescript and many other technologies to build a visual studio code todo app. It's been three years since this video was posted but yet I was able to make it to the end with a working todo list. I had to deal with version updates (change logs were super helpful) but the changes were minor but at times impactful. The biggest change was the typeorm which required converting connection to DataSource. Throughout the tutorial Ben provides ample insight into the logic, nuances, and how things play together at the component level and language level. I can't praise Ben enough for this outstanding tutorial.

  • @toggenation
    @toggenation 3 роки тому +8

    Just did this video and your 14 hour Fullstack React GraphQL TypeScript Tutorial both are well worth the time. So appreciate your showing the problem, cause and resolution. So worth the extra video length. Love your presentation style too!

    • @adityaagarwal1650
      @adityaagarwal1650 2 роки тому

      can you please give me the link to the Fullstack you are talking about, I can't find that? thanks in advance.

    • @toggenation
      @toggenation 2 роки тому

      @@adityaagarwal1650 ua-cam.com/video/I6ypD7qv3Z8/v-deo.html

  • @scott_the_engineer
    @scott_the_engineer 3 роки тому +6

    This is great! I used your previous tutorial to create my own extension that aligns all the text in a block of code based on delimiters you pick. It's called OCDetailer if anyone's interested.
    You're really good at explaining complicated topics. Keep it up.

    • @taiwoalabi
      @taiwoalabi 3 роки тому

      Hi, I'm interested - Care to share your repo link with me?

    • @flaviopinnelli2158
      @flaviopinnelli2158 2 роки тому +1

      great extensiont, i tried it it's really cool

  • @VivekMChawla
    @VivekMChawla 3 роки тому +3

    Ben, this video was AMAZING! I’ve been wanting to learn how to create a VS Code extension that made heavy use of web views, but all the other resources I found came nowhere near delivering what you do in this video. Dude, this is a masterpiece! THANK YOU! ⭐️⭐️⭐️⭐️⭐️

  • @juliafarias6190
    @juliafarias6190 4 місяці тому

    this tutorial is EVERYTHING YOU NEED to learn about vs code extensions! simply awesome

  • @luffythestrchykid
    @luffythestrchykid 3 роки тому +260

    What I want to watch: How to build a vs extension? VS The first thing I watch on every coding channel: Algoexpert ad😭

    • @meghdutmandal9212
      @meghdutmandal9212 3 роки тому +3

      try ublock origin

    • @antoninjacob2232
      @antoninjacob2232 3 роки тому +1

      @@meghdutmandal9212 doesn't work on phone sadly

    • @rand0mtv660
      @rand0mtv660 3 роки тому +3

      @@antoninjacob2232 there are ways. UA-cam Vanced or Firefox with ublock origin on mobile since it supports extensions in it's mobile browser.

    • @antoninjacob2232
      @antoninjacob2232 3 роки тому +1

      @@rand0mtv660 yeah of course, but I was talking about the original youtube app. Most of users won't go to a browser to watch youtube

    • @rand0mtv660
      @rand0mtv660 3 роки тому +1

      @@antoninjacob2232 I know, but there are options is what I'm saying

  • @moniker2521
    @moniker2521 3 роки тому +1

    Honestly this and Tech with Tim have gotten me farther than any other coding youtuber. I’m in data science but all of this has become so interesting to me!

  • @davidmcintosh2054
    @davidmcintosh2054 3 роки тому +2

    I've been following you for a while, and I gotta say, 12 minutes into this, it's a gem. Your channel, and this tutorial, is such a cool find. Can't wait to get through the whole thing and create some cool extensions for my coworkers xD Hoping for more awesome content in 2021. Cheers, Ben!

    • @davidmcintosh2054
      @davidmcintosh2054 3 роки тому

      Okay, so I'm back. I just finished! It was awesome. Will look into the deployment links now.

  • @williamrgrant
    @williamrgrant Рік тому

    Nice video so far!
    Haven't finished yet but I love your straightforward delivery and explaining everything as you go.
    One note for us future time travelers: extension activation is implicit with contributed commands and views now, so you don't need to specify `activationEvents`.

  • @hai6460
    @hai6460 3 роки тому +11

    Finally, I've been waiting for this for so long. thanks 😊

  • @Ritika-Das
    @Ritika-Das 3 роки тому +7

    Whoa!!! Always wanted a tutorial on this, thank you!

  • @imanj
    @imanj 5 місяців тому

    thanks man for this! I spent hours and hours trying to troubleshoot my extension. went to your git and all I had to do was to set my view type.

  • @dagreuterskiold5399
    @dagreuterskiold5399 3 роки тому +11

    Ben Awad, not the hero we deserve, but the hero we need!

  • @gootrizotti
    @gootrizotti 3 роки тому +3

    I'll subscribe cause if someone takes 3 hours to share a so cool skill, man, I want to see the next videos. Congratulations.

  • @panic9899
    @panic9899 3 роки тому +2

    I guess I know what I'll be doing this new year's eve.
    Staring at this video and trying this !

  • @conversations_with_nina
    @conversations_with_nina 3 роки тому +2

    thank you! This course is so intuitive. Far better than any Udemy courses. Anytime that I have a question in my head, you would answer that 5 seconds later lol ...

  • @dand4485
    @dand4485 3 роки тому

    @Ben Awad, thanks for going over this :) I many not have a lot to offer but what i do... When you were installing all the packages you need might suggest doing this, i'm on windoZe so your commands on the Mac may vary a bit. When you want to select all the packages i would.... Press Alt+LButton at the beginning of each package you want to install. This should anchor the cursor an we will get one anchor for each of the packages you want to install... Once you get all the anchor points then press 'Shift-End', this should select all the text from the anchor to the end of the line, ah but we don't want the ending ';', so after pressing shift end don't let up on the 'shift' key, and use the left arrow. Should now have all the text you want selected. Now press Ctrl-C to copy. Close but not done yet. Find a place to paste the text. Now just fix up the text for the command then copy and paste that.... All done :) How you find this useful.

  • @dionpinto3627
    @dionpinto3627 3 роки тому +12

    Btw if anyone is having any difficulties with rollup when adding the style tag in svelte, you will need to install the roll-up-plugin-css-only package and then update the rollup.config.js like so ```import css from "rollup-plugin-css-only";
    plugins: [
    svelte({
    // enable run-time checks when not in production
    dev: !production,
    preprocess: sveltePreprocess(),
    emitCss: true,
    }),
    css({ output: name + ".css" }),```

    • @rafajanicki4184
      @rafajanicki4184 3 роки тому +2

      ... and don't forget to add one line with import:
      >>> import css from "rollup-plugin-css-only";

    • @jaredriley9405
      @jaredriley9405 Рік тому +1

      Thank you random dude from 2 years ago, you just saved my career

  • @sbbc7757
    @sbbc7757 3 роки тому

    full of energy young man. I don't even have patent to watch

  • @TheFern2
    @TheFern2 3 роки тому +1

    This man is national treasure for putting content like this. A while back I was trying to get my extension going with webviews, and nothing was on the internet as far as tutorials. Keep up the good work! 👍

  • @yvonh
    @yvonh Рік тому

    thanks for the tutorial, youtube is littered with introductory tutorials, this one goes deep !

  • @mehraj43
    @mehraj43 7 місяців тому

    Thank you so much for such a detailed tutorial I couldn't find anywhere else this kind of information

  • @Hellohiq10
    @Hellohiq10 3 роки тому +2

    OMG finally an actual course on vscode extension

  • @tanmaydeshpande
    @tanmaydeshpande 3 роки тому +161

    Next up: "My channel got DDoSed"

    • @dinoscheidt
      @dinoscheidt 3 роки тому +2

      GOLD

    • @SharatS
      @SharatS 3 роки тому +7

      For UA-camrs, isn't that the dream... 🤣
      It's not like their UA-cam page is going to crash.

    • @dinoscheidt
      @dinoscheidt 3 роки тому +5

      @@SharatS Yeah two weeks ago Google Engeneeirs 🤐

    • @JamilKhan-hk1wl
      @JamilKhan-hk1wl 3 роки тому +1

      @@SharatS google account authentication went down for 30 minutes earlier this month

  • @wjcqs
    @wjcqs 3 роки тому +1

    Ben is the gift that keeps on giving

  • @malllufan
    @malllufan Рік тому

    just awesome! many thanks for putting together this wonderful tutorial Ben!

  • @FordExplorer-rm6ew
    @FordExplorer-rm6ew 3 роки тому +1

    This is what I was waiting for.
    Your vids are actually starting to get interesting now ngl

  • @Aditya-uk1bv
    @Aditya-uk1bv 3 роки тому +2

    Took me 3 days to finish but I learnt a lot :)

  • @thayneedwards1454
    @thayneedwards1454 2 роки тому

    At around 28:10 (Vanilla JavaScript), the reason your button text didn't change was that you didn't assign an ID to your your HTML button. Add an ID and use that same ID in your JavaScript and it will work. Great work!

    • @harrisgu205
      @harrisgu205 2 роки тому

      I added id to the button yet it still didn't work ;(

  • @a_maxed_out_handle_of_30_chars
    @a_maxed_out_handle_of_30_chars 3 роки тому +26

    is this what you were doing after your last video? still thank you for your efforts

  • @rand0mtv660
    @rand0mtv660 3 роки тому +4

    28:00 just in case anyone is wondering, that part doesn't work because he didn't give that button the id="button" attribute. Cannot do getElementById with an id that doesn't exist on any HTML element.

  • @AdrianTwarog
    @AdrianTwarog 3 роки тому +2

    This was a nice short video tutorial, but I wish they were a little longer, at least 40 hours...

    • @aryanahire2337
      @aryanahire2337 3 роки тому +1

      The best memes aren't on Reddit, THEY'RE HERE!!!!

  • @tzuilee588
    @tzuilee588 Рік тому

    I've to say that Ben has done a great job, though it might be hard to follow sometime cause Ben just jumps around real quick 🤣. One just need to read some doc and do some error searching on Google to get through it. So thankful for this tutorial, have really learnt the basic concepts through it!

  • @_fudgepop01
    @_fudgepop01 3 роки тому +1

    HECK YEAH SVELTE it’s SOOO GOOD RIGHT!?
    I absolutely love it. Thanks for this tutorial! I’ve made extensions in the past but like this would’ve been quite nice to have ahahah~

  • @dimitridoroshko
    @dimitridoroshko 3 роки тому

    Probably I won't need any information from this video, but I will leave a comment to promote this guy :)

  • @chillstate9633
    @chillstate9633 3 роки тому +1

    I really like how you explain stuffs and steps, keep it up👍

  • @sariksiddiqui6059
    @sariksiddiqui6059 3 роки тому +3

    Great video once again.Need to tell us how you remember these things. As I see ,you are dealing with a lot of configs and boilerplates ,so coming up with a tutorial must have been really hard.If I had coded this,I would have taken the same time to build it again given how non native and abstract most of the things are

    • @mich_thedev
      @mich_thedev 6 місяців тому

      The configs are many, imma lose interest if it were me 😂

  • @TJHooper123
    @TJHooper123 3 роки тому +23

    Now we can make a VS Eats extension so we can finally ditch door dash and Uber Eats

  • @CodingUnited
    @CodingUnited 3 роки тому +2

    Fyi, at 10:30 you repeated the push code; however, it takes in a rest param (any num of elements) to add into the array. Therefore, you can just include each event in the push function (separated by a comma).

  • @soniablanche5672
    @soniablanche5672 3 роки тому +2

    thenable is any object with a .then() function, having a .then() allows you to use async await. In a sense, you can think of Promise as a class that extends or implements "Thenable"

  • @alexray4969
    @alexray4969 3 роки тому

    The Svelte Syntax looks so nice

  • @akshay_zz
    @akshay_zz 3 роки тому +5

    36:02 I'm getting error for import - "Cannot find module '../components/HelloWorld.svelte' or its corresponding type declarations.ts(2307)"
    Checked spelling multiple times. Not getting what could be the issue.

    • @sirrus_sky
      @sirrus_sky 3 роки тому

      Same man, let me know if you find a fix

    • @jaimealvarez5653
      @jaimealvarez5653 3 роки тому +9

      In webviews tsconfig.json add:
      "compilerOptions": {
      "strict": true,
      "types": ["node", "svelte"],
      },

    • @sirrus_sky
      @sirrus_sky 3 роки тому

      @@jaimealvarez5653 Worked! Thank you so much!

    • @akshay_zz
      @akshay_zz 3 роки тому

      @@jaimealvarez5653 It worked thanks. A small explanation would be helpful as I'm new to this enviroment.

    • @andyconn7647
      @andyconn7647 3 роки тому +1

      @@jaimealvarez5653 thank you! This had me for ages!

  • @quantran4704
    @quantran4704 Рік тому +1

    Very helpful, thank you man!

  • @m2kdevelopments
    @m2kdevelopments 6 місяців тому

    Very very informative and helpful. Pretty much learnt how to do it in a day. 👍👍👍

  • @gustavos2964
    @gustavos2964 3 роки тому +9

    Any particular reason to go with Svelte instead of React for making the extensions?

    • @eliseumds
      @eliseumds 3 роки тому

      Lighter? Now I wonder if different extensions are able to share the same Svelte package, probably not :(

    • @nobytes2
      @nobytes2 3 роки тому +1

      @@eliseumds Svelte is not a package. Svelte compiles your svelte component down to regular javascript, and the compiled javascript is used by the extension. In other words there's no virtual dom.
      Also svelte is a lot nicer, because you don't have to learn tons of concepts to get going. With basic html, css, and js, you can start building components. In react there's a little bit of overhead in learning and concepts.

    • @eliseumds
      @eliseumds 3 роки тому

      @@nobytes2 Svelte has runtime packages as well, albeit small.

    • @nobytes2
      @nobytes2 3 роки тому

      @@eliseumds Right, but extensions are compiled and I don't think code is shareable within vscode extensions.

    • @bawad
      @bawad  3 роки тому +7

      yeah the main advantage is its light weight

  • @tommyhetrick
    @tommyhetrick 3 роки тому

    Me thinking this would be just a regular Ben Awad video but then I see it’s three hours

  • @gauravgaikwad3272
    @gauravgaikwad3272 Рік тому +1

    what command i have to add in package.json while publishing the extension

  • @xBeiker
    @xBeiker 2 роки тому

    What's your iTerm2 color schema? Thanks!

  • @AdamInWonderland
    @AdamInWonderland 3 роки тому

    Thank you for making this! So much more helpful than Microsoft's tutorials

  • @ChiiAlia
    @ChiiAlia 3 роки тому

    Great video 👍🏽✨ Funny how I thought about coding an extension today and then bam....this notification comes up. I’m stuck with the Baader-Meinhof thing🤦🏽‍♀️

    • @cloudfox1908
      @cloudfox1908 3 роки тому

      Same. I was even watching the last video that he made on this: ua-cam.com/video/4tk0Ak-dEjs/v-deo.html.

  • @silviortiz15
    @silviortiz15 3 роки тому

    I've been looking for this tutorial for a while!

  • @vsprout4812
    @vsprout4812 11 місяців тому

    Awesome, Loved it. I will try my first extension 🙂 Thankyou somuch.

  • @kevinandeleven
    @kevinandeleven 3 роки тому

    Big ups for all your well thought out content.. But we have missed your angular videos😂😂

  • @zahrahasti3723
    @zahrahasti3723 9 місяців тому

    This video is awesome! thank you for sharing it with us,keep it up bro.

  • @aryanahire2337
    @aryanahire2337 3 роки тому +4

    Me: took u long enough. *Looks at vid length*
    Me 5 seconds later: HOLY S**T!

  • @altariarite5254
    @altariarite5254 2 роки тому

    59:03 In case anyone is wondering why they are getting a CSS error/missing CSS file, Ben explained it here

  • @aniketbose6478
    @aniketbose6478 6 місяців тому

    Hi Ben, I followed your tutorial and it is really awesome and attempted to build a VS Code extension. However, after publishing and installing the sidebar, I noticed that it isn't displaying any functionality or UI. Can you please assist me with this issue?

  • @Fullflexno
    @Fullflexno 3 роки тому

    Thanks avad! Looking forward to be doing this

  • @gauravgaikwad3272
    @gauravgaikwad3272 Рік тому +1

    i am getting blank sidebar and panel after building the extension the svelte code is not getting loaded into final build

  • @noahfletcher2338
    @noahfletcher2338 2 роки тому

    Hey! I am wondering if there is any reason we used a class for the WebView over having it as a function? I noticed that all of the examples that are provided by Microsoft also use a class too. I cant find anything that explains why and I'm just curious.

  • @redfox7731
    @redfox7731 2 роки тому +1

    33:25 gives me the error @tsconfig/svelte/tsconfig.json not found
    Path to base configuration file to inherit from. Requires TypeScript version 2.1 or later
    Cani get any help plz

  • @ihappyk
    @ihappyk Рік тому

    Hi Ben,
    Thank you so much for the wonderfull tutorial which helped me alot, is there any video related to right-click context menu?

  • @aniketshorttales
    @aniketshorttales Рік тому

    I am unable to see the "Hello World" after doing cmd+p in extension development host. Can you please let me know what I am missing

  • @usmanmunir1559
    @usmanmunir1559 3 роки тому +1

    This guy is awesome 💕 really appreciated

  • @ragilmanggalaning
    @ragilmanggalaning Рік тому

    hi men, I made an audio player and run it in vscode panel sidebar. but when the sidebar panel is removed and moved to another sidebar panel, the audio being played immediately turns off. how do you make it so that when the vscode panel sidebar is not active, the audio that is being played continues to run?

  • @haochen9635
    @haochen9635 3 роки тому

    Quick question on 1:36:07 -- I got a "tsconfig.json" not found error. Could you help pointing me to the right direction? Thanks!

  • @shreym03
    @shreym03 3 роки тому +1

    I have a question. Can you make personal extensions and themes using the yo package? Or is it only for release?

    • @bawad
      @bawad  3 роки тому +2

      yeah you can use vsce to create a bundle that you can send to who ever wants the extension (or just yourself)

  • @bluse1995
    @bluse1995 3 роки тому

    Thank you very much for sharing this, I enjoyed it very much.

  • @gauravgaikwad3272
    @gauravgaikwad3272 Рік тому +1

    Question, do i have to add rollup command while publishing the extension

    • @jyrocaptain
      @jyrocaptain Рік тому

      I'm trying to package my extension too, did you get a fix for it? I am having an issue where the built extension is trying to find the css files which can't be found.

    • @gauravgaikwad3272
      @gauravgaikwad3272 Рік тому

      @@jyrocaptain removing /out from extensionIgonre was the fix for me

  • @zombie_pigdragon
    @zombie_pigdragon 3 роки тому +2

    I don't even use JS or VSCode, time to watch the whole thing.

  • @nathantoulbert4406
    @nathantoulbert4406 2 роки тому

    _Half jokingly and with light-hearted intentions:_
    I've avoided making Code extensions for years because it smells too much like front-end (or more precisely, back-end using front-end tools), although I just ran across a typescript project that inspired me. For the first few seconds, I thought it was python, mostly because of the way the source code was structured, I guess.
    Anyway, I got a wild hair and decided to watch a quick video on the subject, and guess what I happened to click on?
    In the first 30 seconds, I hear..
    "...and so I'm going to use a web view to..."
    AAAAAAAAAAAAAAAAAHHHHHHHHHHHHHHHHHHHHHH!!!!!!
    _Just kidding. I was looking for something a bit different, but I am glad I found this all the same! Great presentation, great flow, great video. ...p.s. There is no way I'm sitting through the whole thing though. XD_

  • @HK-sw3vi
    @HK-sw3vi 3 роки тому

    bruh, this guy can make whatever the fuck he wants.

  • @sebastianramirez5781
    @sebastianramirez5781 6 місяців тому

    at the beginning does someone else's command not work? the helloWorld command just doesn't show up for me at all to run

  • @kindofakash7020
    @kindofakash7020 8 місяців тому

    Thank you for this GOAT!

  • @rampus44
    @rampus44 3 роки тому

    My VSCode decides to stop compiling the extension right after it confirms that webpack compiles successfully. It stays stuck on that indefinitely, any suggestions?

  • @nadaz7333
    @nadaz7333 3 роки тому

    Best cs youtuber out there

  • @kimberlyying6427
    @kimberlyying6427 3 роки тому

    Hey Ben, can you explain a little more how you can add other things in setState. I am trying to do what you suggested at 3:29:20 with keeping track of the text in the input field if someone closes the view and comes back, but I am struggling to get it to work. What would be the syntax to keep track of multiple variables in setState? Do I need to follow this convention $: { tsvscode.setState({page}); } on multiple svelte files?

  • @zohnannor
    @zohnannor 3 роки тому +8

    1:08:18 -- "editor.acceptSuggestionOnCommitCharacter": false

    • @arsamsarabi
      @arsamsarabi 3 роки тому +1

      Please pin this comment ! :)

  • @igorordecha
    @igorordecha 3 роки тому +1

    My first thought before I realized its a tutorial was: "another extension? Again? Please have mercy and stop"

  • @renanfamous
    @renanfamous 2 роки тому

    Thanks a lot man, I was able to use yours as base and do mine, which is almost finished now, but I'm having issues when creating the package. No errors prompt on my "run watch", but if I publish my extension and try to install and load on another computer, it gives me an error that it can't load my base css and js file, am I missing something?

  • @qwikinsight
    @qwikinsight 2 роки тому +1

    I got this error while running the API, node:internal/modules/cjs/loader:936 throw err Cannot find module 'C:\...\api\index.js' [nodemon] app crashed - waiting for file changes before starting...

    • @secrety7623
      @secrety7623 Рік тому

      Had the same, did you figure out how to fix it?

  • @alessandrob.g.4524
    @alessandrob.g.4524 3 роки тому +1

    Dude, you make programming look so cool!

  • @sanskaarpatni9137
    @sanskaarpatni9137 3 роки тому

    Learnt a lot from the video!

  • @ketub
    @ketub 3 роки тому

    what is this extension 3.58 that does the bracket scope highlight?

  • @noobygenius6023
    @noobygenius6023 2 роки тому +1

    12:19 its coming as 'command not found' even after reloading the window.

  • @aadhithbala
    @aadhithbala 3 роки тому

    The syntax highlighting looks cool what theme is that?

  • @hectorg362
    @hectorg362 3 роки тому +1

    Yeah! Thanks for this!

  • @ChessFlix
    @ChessFlix 3 роки тому +4

    I'm working through this now. I figure I'll update this comment with my progress, commentary, and critique.
    20:09 I got stuck for a minute because I didn't write export in front of that getNonce() function. Solved, moving on.
    25:22 My button and textfield are different widths, unlike in the video. Not worried about it, just pointing it out.
    45:00 My prettier config has stopped working in the middle of following this. Stuck, troubleshooting... edit: My error was caused by an extension conflict. The svelte plugin didn't play nice with my npm autocomplete plugin, causing other extensions, like prettier and bracket colorizer to stop working. Not sure why, but hopefully this helps someone.
    53:18 **A note for Ben**. It is tiring to move through these various github repos. Looking for chunks of code to copy and paste could be made much easier by using clickable annotations, like in the top right of the video. Even just a pastebin or scratch file with the chunks of code needing to be copied all in one place would make this process noticeably easier. That's not to say anything bad about the video. Just a suggestion to potentially make things better.
    I've currently stopped working on this tutorial because a FAANG company has reached out about an interview, so I'm directing all my free time to studying algs. I will return one day.
    tbc...

    • @thunderbolt8632
      @thunderbolt8632 3 роки тому

      UPDATE?😂

    • @ChessFlix
      @ChessFlix 3 роки тому +1

      @@thunderbolt8632 Interview at Amazon tomorrow. I'll post results 👌

    • @yasseraltamimi6171
      @yasseraltamimi6171 3 роки тому

      @@ChessFlix and? lol

    • @ChessFlix
      @ChessFlix 3 роки тому +3

      I finally just got an email today asking me what department I want to work in at Amazon. It's not an offer, but they told me I passed the technical bar basically. I don't want to get excited too early, but I think I might get it! So I might not come back to this tutorial actually.

    • @yasseraltamimi6171
      @yasseraltamimi6171 3 роки тому

      @@ChessFlix good luck 🤞

  • @DJ1TJOO
    @DJ1TJOO 3 роки тому +1

    To fix express and webpack use setting:
    externals: {
    express: "commonjs express",
    vscode: "commonjs vscode",
    }

  • @discovrbookings7986
    @discovrbookings7986 3 роки тому

    Hey Ben. Quick question, what is the extension you are using to add intelliSense to the terminal?

    • @bawad
      @bawad  3 роки тому +2

      fish shell

  • @kimberlyying6427
    @kimberlyying6427 3 роки тому +1

    I'm having an issue at 40:15 in the HelloWorld.svelte file. "Cannot find module '../components/HelloWorld.svelte' or its corresponding type declarations." which I think is why when I run it also seems to be stuck on "Building" and never opens the Extension Development window. Does anyone know how to fix this issue?

    • @kimberlyying6427
      @kimberlyying6427 3 роки тому

      It's working now. I think the problem was that concurrently wasn't installed correctly so it was stuck on rollup watching and never actually compiled the extension. After installing using "npm install concurrently --save" it works now.

    • @tanmaybairagi7227
      @tanmaybairagi7227 3 роки тому

      How did you get this resolved? Can you please let us know?

    • @kimberlyying6427
      @kimberlyying6427 3 роки тому

      @@tanmaybairagi7227 I think I just installed the concurrently package and it worked. And then make sure your package.json has the correct script for watch:
      "scripts": {
      "vscode:prepublish": "npm run compile",
      "compile": "rollup -c && tsc -p ./",
      "watch": "concurrently \"rollup -c -w\" \"tsc -watch -p ./\"",
      "pretest": "npm run compile && npm run lint",
      "lint": "eslint src --ext ts",
      "test": "node ./out/test/runTest.js"
      }
      And you can also check your dev dependencies in the package.json I might have some extra ones in there because I've adapted this extension for my own needs, but I think for this part of the tutorial you just want to check specifically for the ones that mention rollup and concurrently.
      "devDependencies": {
      "@rollup/plugin-commonjs": "^19.0.0",
      "@rollup/plugin-node-resolve": "^13.0.0",
      "@rollup/plugin-typescript": "^8.2.1",
      "@tsconfig/svelte": "^2.0.1",
      "@types/glob": "^7.1.3",
      "@types/mocha": "^8.0.4",
      "@types/node": "^12.11.7",
      "@types/polka": "^0.5.2",
      "@types/vscode": "^1.52.0",
      "@typescript-eslint/eslint-plugin": "^4.9.0",
      "@typescript-eslint/parser": "^4.9.0",
      "concurrently": "^6.2.0",
      "eslint": "^7.15.0",
      "glob": "^7.1.6",
      "mocha": "^8.1.3",
      "rollup": "^2.51.2",
      "rollup-plugin-css-only": "^3.1.0",
      "rollup-plugin-svelte": "^6.1.1",
      "rollup-plugin-terser": "^7.0.2",
      "svelte": "^3.38.2",
      "svelte-check": "^2.1.0",
      "svelte-preprocess": "^4.7.3",
      "typescript": "^4.1.2",
      "vscode-test": "^1.4.1"
      }

  • @sanskaarpatni9137
    @sanskaarpatni9137 3 роки тому +1

    Did anyone try deploying the extension..? My panels are not showing anything I think they are not able to load the svelte code! It is working fine in development mode..
    This problem is coming after I deploy.. Help anyone? @benawad

  • @mritunjaypathak251
    @mritunjaypathak251 3 роки тому

    Hey ben, How can i prevent a file from opening or close a opened file through my extension?

  • @pikachugaming9523
    @pikachugaming9523 Рік тому

    Hey can we use react for components?
    if yes, then how, please help. Thanks In advance!!

  • @johannesritter2053
    @johannesritter2053 3 роки тому

    Can you do a video on deploying please? When I create a .vsix file I can install it but the extension won't load. Commands are registered but i can't run them and the sidebar is showing but does not load :/

  • @gubfhidnom4714
    @gubfhidnom4714 3 роки тому

    Awesome tutorial. I noticed that you keep moving to the opening quote to change the content of a string (e.g. at 11:43). Just use ci" or ci' depending double/single quote anywhere in the string to change the whole thing. Got to save those precious keystrokes.

  • @anmol_dot_ninja
    @anmol_dot_ninja 3 роки тому +1

    Lmao i was thinking about learning this after Vsinder...my man back at ut again. ◉‿◉