Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Nov 01 19:20
    dependabot[bot] labeled #1521
  • Nov 01 19:20
    dependabot[bot] opened #1521
  • Oct 26 23:07
    lierdakil closed #1512
  • Oct 26 23:07
    lierdakil labeled #1512
  • Oct 26 23:07
    lierdakil labeled #1512
  • Oct 24 22:12
    micazoyolli opened #1520
  • Oct 23 23:07
    lierdakil closed #1514
  • Oct 23 23:06
    lierdakil labeled #1514
  • Oct 23 22:53
    lierdakil closed #1518
  • Oct 23 22:53
    lierdakil closed #1517
  • Oct 23 22:52
    lierdakil closed #1516
  • Oct 23 22:51
    lierdakil opened #1519
  • Oct 19 14:49
    betheymc opened #1518
  • Oct 19 14:43
    betheymc opened #1517
  • Oct 19 14:36
    betheymc opened #1516
  • Oct 19 14:30
    betheymc opened #1515
  • Oct 15 09:28
    pasinduperera synchronize #1514
  • Oct 15 09:20
    pasinduperera synchronize #1514
  • Oct 15 09:11
    pasinduperera opened #1514
  • Oct 02 22:01
    kaiyoma opened #1513
Basarat Ali Syed
@basarat
yup :rose:
Valentin Robert
@Ptival
@basarat how do I know which version of TS atom-ts is using?
I'm hitting a bug in atom-ts that seems fixed on the TS playground online
Valentin Robert
@Ptival
thanks
I am actually facing a new issue
in the generated AMD, it seems that an extends fails because the parent class is undefined
oh, I have a circular dependency
Valentin Robert
@Ptival
@basarat that dependency view is golden :+1:
Valentin Robert
@Ptival
Do you happen to know what the solution to separating a module across multiple files is? I see a lot of long discussions on Github that end up closed with no resolution
Marc Wensauer
@daslicht
the option "allowJs": false is marked as error
Matheus Magalhães de Alcantara
@demhydraz
is there any way to have the awesome highlighting without making my editor crawl to a halt?
Carlos Ruiz Ballesteros
@cruizba
penis
sorry it was a friend
i love typescript jeje
Marc Wensauer
@daslicht
is there ab filesExcludeGlob ?
Basarat Ali Syed
@basarat
@daslicht you can exclude using negation:
"filesGlob":[
  "**/*.server.ts",
  "!**/**.client.ts",
]
Stacey Gammon
@Stacey-Gammon
Any ideas on why this syntax is highlighting in just grey? http://www.theshelterhelper.com/images/syntaxhighlighting.png
Basarat Ali Syed
@basarat
@Stacey-Gammon its just the way it :)
this.something = Foo.bar(something.something);
^ same here
If you have a suggestion you can make them here : https://github.com/Microsoft/TypeScript-TmLanguage that way all ides get it (atom/vscode/sublime)
Basarat Ali Syed
@basarat
blob
^ one suggestion is to highlight function calls. This is what I do with alm.tools however it doesn't use the tmLanguage files (uses the typescript language service instead)
Francesco Mazzoli
@bitonic
Does atom-typescript pick up tsconfig.json automatically?
I'm getting errors on a project that compiles fine with tsc
Basarat Ali Syed
@basarat
Yes. Please see TypeStrong/atom-typescript#910
@bitonic ^ :rose:
Valentin Robert
@Ptival
@basarat is there a one command atom-ts invokes to compile all .ts files? I'd like to have a script trigger the same thing for my users who don't use atom
Valentin Robert
@Ptival
if I do tsc -p mydir/, I'm not sure why but it goes ahead and tries to compile all of DefinitelyTyped/, ignoring my filesGlob...
Valentin Robert
@Ptival
oh I see, I have to use files, and I have to list all files if I don't use /// reference path, what a bummer...
Basarat Ali Syed
@basarat
@Ptival you can use grunt-ts by @nycdotnet as it supports filesGlob : https://github.com/TypeStrong/grunt-ts/ :rose:
Marc Wensauer
@daslicht
@Valentin FilesGlob is a Atom Specific setting, it will be not used when running tsc in cli
Valentin Robert
@Ptival
got it
now I have another trouble where atom-ts does not pick up on my typings
I put "typings/main.d.ts" in my "filesGlob", is it not enough?
Basarat Ali Syed
@basarat
@Ptival its enough. Please share the tsconfig.json completely :rose:
Valentin Robert
@Ptival
and main.d.ts contains http://paste.awesom.eu/YrQz
Valentin Robert
@Ptival
I also tried removing filesGlob entirely and putting an empty excludes list, I get errors everywhere
and when I open es6-shim/index.d.ts, it complains about duplicate identifiers
maybe relevant, in my typings/ folder, I have a main.d.ts and a browser.d.ts, with both their subdirectories, not sure why
Valentin Robert
@Ptival
do I need a /// <reference path...> in my files in that setting?
Valentin Robert
@Ptival
@basarat you can see a bit of the setup and issues on this gif http://i.imgur.com/DM2O3yB.gifv not sure it'll help
Basarat Ali Syed
@basarat

@Ptival your files glob:

  "filesGlob": [
    "*.ts",
    "coq/*.ts",
    "editor/*.ts",
    "peacoq/*.ts",
    "prooftree/*.ts",
    "typings/main.d.ts"
  ],

Should be :

  "filesGlob": [
    "*.ts",
    "coq/*.ts",
    "editor/*.ts",
    "peacoq/*.ts",
    "prooftree/*.ts",
    "typings/main.d.ts",
    "!typings/browser/**",
    "!typings/browser.d.ts"
  ],
as *.ts matches that
Marc Wensauer
@daslicht
This message was deleted
Marc Wensauer
@daslicht
This message was deleted
Marc Wensauer
@daslicht
funny stuff, I cant use the file name , main.server.ts it will be always not in compile context
but it compiles to Main.server.ts