Pour tout problème contactez-nous par mail : support@froggit.fr | La FAQ :grey_question: | Rejoignez-nous sur le Chat :speech_balloon:

Skip to content
Snippets Groups Projects
user avatar
dleurs authored
4dd6c4b8
History
Name Last commit Last update
README.md

Setup VSCode for Flutter

Extensions

  • Flutter and Dart extensions
  • Bracket Pair Colorizer 2
  • Material Icon Theme
  • Better comments
  • bloc (Felix Angelov)
  • Todo tree
  • Pubspec assist (cmd+Shift+P then pubspec assist)
  • Flutter Intl
  • Color Highlight
  • Image Preview

Theme

  • Monokai theme

Shortkey

  • Multicursor : press alt and click

  • Name refactoring : fn+F2+name of the class/function for example, or put the actual code of a Text widget inside a Column widget or ctrl+Shift+R

  • Formatting text : Select a text , Shift+alt(option)+F

  • Code folding, fermer des div ou autre avec :

    • fermer avec : alt+cmd+[
  • ouvrir avec : alt+cmd+]

  • Flutter run with the bar : (fn) + f5

  • Pubspec assist : cmd+Shift+P then pubspec assist

Tools for Mac

Configure internet access of your Mac/iPhone simulator to 3G

In terminal, use code

in .zshrc :
export PATH="PATH:/Applications/Visual Studio Code.app/Contents/Resources/app/bin" <br/> export PATH="PATH:/Users/dle/Documents/Flutter/Software/flutter/bin"
export PATH="$PATH:/Applications/Sublime Text.app/Contents/SharedSupport/bin"