by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 05:30
    ubaidillahSriyudi commented #2702
  • 05:30
    ubaidillahSriyudi commented #2702
  • 05:05
    String-error-404 commented #2578
  • 00:15
    github-actions[bot] labeled #2626
  • 00:15
    github-actions[bot] commented #2626
  • Aug 14 23:51
    xster opened #2722
  • Aug 14 15:46
    cyrildewit starred Dart-Code/Dart-Code
  • Aug 14 10:14

    DanTup on master

    Add a note about src/tool Fix info on debug adapters Add some notes on labels (compare)

  • Aug 13 19:02
    simolus3 commented #2203
  • Aug 13 17:41
    DanTup commented #2203
  • Aug 13 17:28
    simolus3 commented #2203
  • Aug 13 17:10
    DanTup milestoned #2115
  • Aug 13 17:10
    DanTup demilestoned #2115
  • Aug 13 17:10
    DanTup labeled #2115
  • Aug 13 17:10
    DanTup unlabeled #2115
  • Aug 13 17:10
    DanTup unlabeled #2115
  • Aug 13 17:10
    DanTup unlabeled #2115
  • Aug 13 17:10
    DanTup commented #2115
  • Aug 13 16:58
    DanTup commented #2203
  • Aug 13 13:08
    DanTup commented #2715
Matias Meno
@enyo
The referral_service.dart would be the correct definition
Danny Tuppeny
@DanTup
@enyo I guess the angular dart plugin is contributing the second location, so VS Code is showing a list
Screenshot 2020-03-31 at 12.32.09.png
Seems like you can control this in the VS Code user settings if you want to always just go to the first
Matias Meno
@enyo
@DanTup as to why angular is contributing the second location I guess that's out of your domain right?
It's kind of weird that every component html file is always being suggested as a reference
Unfortunately that setting didn't change anything
Mohamed Elshawaf
@mshwf
Hi, how to run dart code in VSCode and be able to use packages from pub.dev, no Flutter, just want to play with dart?
Danny Tuppeny
@DanTup
@enyo yeah, I'm not very familiar with it. I thought maybe it was using the same symbol - but checking your screenshot again, it just looks completely wrong :/ I would file a bug with the Angular Dart repo though to see if they have any ideas
@mshwf you can install just the Dart SDK (without Flutter) and the Dart extension for VS Code to do Dart work (without Flutter)
Mohamed Elshawaf
@mshwf
@DanTup thank you, I'm able now to create console projects from within VSCode
Mohamed Elshawaf
@mshwf
I have a question, I'm comming from C#,
What does positional term mean in "positional parameter"?
it seems to me like default parameter, but I don't know why it's called "positional".
the only difference between it and named parameter, is that the named parameter requires declaring the name of the paramter, other than that they are identical in terms they get default values.
Danny Tuppeny
@DanTup

@mshwf glad to hear!

Positional parameters are those that are defined by their position, for example in foo(1), 1 is a positional parameter (the position must match the position declared in the function). A named parameter can appear in any position as it's matched by name.

Positional paramers can by optional and have default values, but that's not neccesary. They're still positional parameters without.

There's some more info on the different types parameters here -> https://stackoverflow.com/questions/13264230/what-is-the-difference-between-named-and-positional-parameters-in-dart

Mohamed Elshawaf
@mshwf
@DanTup thanks for these info, the dart tour page doesn't mention about the meaning of positional (I guessed, though, but due to I'm not familiar with this type of parameters, I couldn't get it).
Mohamed Elshawaf
@mshwf
Is there a way to search (CTRL+F) within the inspector page in chrome, so I can find specific widgets or properties?
Danny Tuppeny
@DanTup
@mshwf I'm not sure - if it doesn't seem to work, it might be worth filing an issue at https://github.com/flutter/devtools/
Danny Tuppeny
@DanTup
@/all v3.10.0 of the extensions have been published. Release notes here -> https://dartcode.org/releases/v3-10/
jagdishsinh jadeja
@jagdishjadeja
@DanTup intelisense for search delegate is wrong
Danny Tuppeny
@DanTup
@jagdishjadeja can you post an example of what you see and what you expect?
Jonathan Rezende
@jodinathan
Captura de Tela 2020-05-15 às 11.58.25.png
keyword external gets to be blue when it is a common var
Danny Tuppeny
@DanTup
@jodinathan thanks! This is essentially the same as Dart-Code/Dart-Code#311 an/or Dart-Code/Dart-Code#2202. Right now the syntax highlighting is done with a relatively naive TextMate Grammar and gets some things wrong (external is a keyword in some context). The plan is to move to using full semantic syntax highlighting from the server which will address these edge cases, though it's likely to be done in the LSP implementation.
benli.shi
@beilly
Dart DevTools exited with code 1

Dart DevTools exited with code 1

dart :2.5.0

benli.shi
@beilly

Dart DevTools exited with code 1

Flutter 1.9.1+hotfix.4 • channel unknown • unknown source
Framework • revision cc949a8e8b (8 months ago) • 2019-09-27 15:04:59 -0700
Engine • revision b863200c37
Tools • Dart 2.5.0

dart plugin: 3.10.2
flutter plugin: 3.10.2

Danny Tuppeny
@DanTup
@/all v3.11.0 of the extensions have been published. Release notes here -> https://dartcode.org/releases/v3-11/
jagdishsinh jadeja
@jagdishjadeja
how to debug app on multiple device ? in vscode ?
Danny Tuppeny
@DanTup
Jonathan Rezende
@jodinathan
is it possible to to have html syntax in templates?
ammarqusailah
@ammarqusailah
Why widgets suggestions stop after minutes of working in flutter, after I restart Vs-code suggestion is working for minutes and stop work again ! I can't restart it every time ??any help for that !
Andriy Matkivskiy
@amatkivskiy
Screenshot 2020-06-18 at 12.10.27.png
Hi all, does somebody know how to set a custom color for a parameter names in VSCode?
Danny Tuppeny
@DanTup

Sorry for the delay - Gitter notifications don't work very reliably for me, so I mostly use Discord (https://discord.gg/xSTPEqm) and sometimes forget to check here .

@ammarqusailah if you're still seeing this, please file a bug in GitHub with as much detail on the behaviour you're seeing as possible

@amatkivskiy this isn't currently possible, but hopefully once LSP supports semantic highlighting the colouring will be improved and you should be able to customise more of it

Jonathan Rezende
@jodinathan
vs code is just not working correctly anymore
it is not analyzing the dart code, so no auto complete, command click to go to definnition etc
Jonathan Rezende
@jodinathan
now even thought the code is being analyzed, it is just taking ages to identify the changes and also the memory comsuption is rising up to the sky
Captura de Tela 2020-06-26 às 15.01.40.png
when I terminate the code renderer it says "extension host terminated unexpectedly"
Carmenjara
@Carmenjara
Hi all. I hope someone can help me with the following problem.
First of all, I'm working on Visual Studio Code with Flutter on Linux, but when I run the app on my real device the following alert appears "Cannot launch without an active device". It is worth mentioning that I am using Vysor to access my device.
Thanks for your help!
Randal L. Schwartz
@RandalSchwartz
Does it show up in "Flutter devices"
Carmenjara
@Carmenjara
Neither. I activated to my mobile the USB Debugging and execute "flutter doctor" and it still doesn't appear.
Danny Tuppeny
@DanTup

@jodinathan sorry for the delay - Gitter's notifications are not very reliable for me (Discord's are better though). Are you still having this issue?

@Carmenjara are you using the Linux machine directly, or is it something remote (like using SSH/Docker/etc.)? Does it show up if you run adb devices? (you can get the path to ADB by running flutter config --machine to find the Android SDK path, then adding /platform-tools/adb to the end)

Carmenjara
@Carmenjara
Hello @DanTup . I'm using the Linux machine directly. Now it recognizes my real phone, the problem is that the application does not launch on the phone. I don't know if you can help me, I really appreciate your time.
daramanand
@daramanand
Set the 'program' value in your launch config (eg 'bin/main.dart') then launch again
Jonathan Rezende
@jodinathan
@DanTup yes. Unfortunately I had to switch from VSCode as it was impossible to use it.
Carmenjara
@Carmenjara
Hi @daramanand .The settings are fine, however, I cannot launch the application on my smartphone.
Carmenjara
@Carmenjara
With "flutter run" it launches the following:
#0      throwToolExit (package:flutter_tools/src/base/common.dart:14:3)
#1      RunCommand.validateCommand (package:flutter_tools/src/commands/run.dart:336:7)
<asynchronous suspension>
#2      FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:703:11)
<asynchronous suspension>
#3      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:620:33)
<asynchronous suspension>
#4      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart)
#5      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:29)
#6      _rootRun (dart:async/zone.dart:1184:13)
#7      _CustomZone.run (dart:async/zone.dart:1077:19)
#8      _runZoned (dart:async/zone.dart:1619:10)
#9      runZoned (dart:async/zone.dart:1539:10)
#10     AppContext.run (package:flutter_tools/src/base/context.dart:149:18)
#11     FlutterCommand.run (package:flutter_tools/src/runner/flutter_command.dart:610:20)
#12     CommandRunner.runCommand (package:args/command_runner.dart:197:27)
#13     FlutterCommandRunner.runCommand.<anonymous closure>
(package:flutter_tools/src/runner/flutter_command_runner.dart:339:21)
<asynchronous suspension>
#14     FlutterCommandRunner.runCommand.<anonymous closure>
(package:flutter_tools/src/runner/flutter_command_runner.dart)
#15     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:29)
#16     _rootRun (dart:async/zone.dart:1184:13)
#17     _CustomZone.run (dart:async/zone.dart:1077:19)
#18     _runZoned (dart:async/zone.dart:1619:10)
#19     runZoned (dart:async/zone.dart:1539:10)
#20     AppContext.run (package:flutter_tools/src/base/context.dart:149:18)
#21     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:288:19)
#22     CommandRunner.run.<anonymous closure> (package:args/command_runner.dart:112:25)
#23     new Future.sync (dart:async/future.dart:224:31)
#24     CommandRunner.run (package:args/command_runner.dart:112:14)
#25     FlutterCommandRunner.run (package:flutter_tools/src/runner/flutter_command_runner.dart:231:18)
#26     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:63:22)
#27     _rootRun (dart:async/zone.dart:1184:13)
#28     _CustomZone.run (dart:async/zone.dart:1077:19)
#29     _runZoned (dart:async/zone.dart:1619:10)
#30     runZonedGuarded (dart:async/zone.dart:1608:12)
#31     runZoned (dart:async/zone.dart:1536:12)
#32     run.<anonymous closure> (package:flutter_tools/runner.dart:61:18)
<asynchronous suspension>
#33     run.<anonymous closure> (package:flutter_tools/runner.dart)
#34     runInContext.runnerWrapper (package:flutter_tools/src/context_runner.dart:64:18)
<asynchronous suspension>
#35     runInContext.runnerWrapper (package:flutter_tools/src/context_runner.dart)
#36     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:29)
#37     _rootRun (dart:async/zone.dart:1184:13)
#38     _CustomZone.run (dart:async/zone.dart:1077:19)
#39     _runZoned (dart:async/zone.dart:1619:10)
#40     runZoned (dart:async/zone.dart:1539:10)
#41     AppContext.run (package:flutter_tools/src/base/context.dart:149:18)
#42     runInContext (package:flutter_tools/src/context_runner.dart:67:24)
#43     run (package:flutter_tools/runner.dart:48:10)
#44     main (package:flutter_tools/executable.dart:69:9)
#45     main (file:///b/s/w/ir/k/archive/flutter/packages/flutter_tools/bin/flutter_tools.dart:8:3)
#46     _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:299:32)
#47     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:168:12)
Danny Tuppeny
@DanTup
@Carmenjara @jodinathan could you file issues at https://github.com/Dart-Code/Dart-Code with an exact description of what you're trying, and exactly what you're seeing?
@Carmenjara for the big error when running flutter run, please try "flutter run -v" which should log more info
Carmenjara
@Carmenjara
Thanks for the help @DanTup!
Hello everyone, can someone help me. I need to create a search bar, in flutter with Dart and MySQL, that extracts a single result based on the input text, without having to extract the entire list of objects previously.