Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 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
  • Sep 30 20:20
    jfellus edited #1512
  • Sep 30 20:20
    jfellus edited #1512
  • Sep 30 20:19
    jfellus edited #1512
  • Sep 30 20:18
    jfellus edited #1512
  • Sep 30 20:18
    jfellus edited #1512
  • Sep 30 20:17
    jfellus opened #1512
  • Sep 21 09:57
    arcanis opened #1511
  • Sep 20 16:18
    reduxdj edited #1510
  • Sep 20 16:18
    reduxdj opened #1510
  • Sep 20 08:28
    mininek opened #1509
  • Aug 15 17:06
    chaffeqa opened #1508
  • Aug 08 16:07
    lierdakil closed #1507
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
yeah with capital letter wtf ?!
is there somekimnf of cache going on ?
I renames the Main.server.ts to main.server.ts before
funky
Valentin Robert
@Ptival
ok I've made some progress, now my remaining issue is that the --ambient version of d3 is worthless, and I don't understand how to make the npm typings work
Eugenio Arosteguy
@euginio
I guys
is there some way to replace text preserving case in atom?
Valentin Robert
@Ptival
@euginio yes, click on the "Aa" button on the right
I still am unable to call tsc -p . succesfully from the command line, even though my project builds under atom-typescript, it misses some interface files somehow
Eugenio Arosteguy
@euginio
Hey @Ptival , the option you mention is for match case in the search, I want an option to "preserve case" in the replacement, for example replace "hello" with "hola" and preserving case it will replace also "Hello" with "Hola" (as in sublime)
Yousef Shanawany
@AskYous
Anyone else wish the syntax highlighting was better? I wish it was as good as JavaScript's highlighting in atom.
Leigh Caplan
@texel
Yep, it's pretty terrible for me too
Yousef Shanawany
@AskYous
You think I should open up an issue?
Basarat Ali Syed
@basarat
@texel @AskYous we just use the defacto Microsoft version. More : https://github.com/TypeStrong/atom-typescript/blob/master/docs/grammar.md#cson-grammar
@texel @AskYous because of text mate limitations (plus maintenance burden) I'm using a code based grammar for my next WIP project : https://basarat.gitbooks.io/alm/content/features/typescript.html#syntax-highlighting :rose:
Yousef Shanawany
@AskYous
I don't understand that stuff but I'm confident that you guys know what you're doing and it's a burden.
Leigh Caplan
@texel
Hey everyone- looks like someone has opened a ticket for a highlighting issue I've actually been seeing for awhile: TypeStrong/atom-typescript#934
It seriously affects highlighting on Angular 2 projects, which use property decorators pretty heavily
Any idea what's involved to address it?
@basarat sorry I didn't see your response the other day
Leigh Caplan
@texel
So this issue is basically just a reflection of the upstream issues w/ the grammar?
Microsoft/TypeScript-TmLanguage#79
Basarat Ali Syed
@basarat
@texel yup :rose:
Leigh Caplan
@texel
@basarat Ha fair enough. So I guess I should go complain in the TS gitter? ;)