Commit Graph

22 Commits

Author SHA1 Message Date
Nathan Shively-Sanders
64d0e0d448 Shorten more internal names to JS or TS (#27080) 2018-09-13 15:05:57 -07:00
Nathan Shively-Sanders
6bd1da20c9 Rename JS-specific concepts (#26795)
* Rename JS concepts

1. Assignment declaration -- an assignment that is treated like a
declaration. Previously called [JS] special (assignment|declaration),
among other things.
2. Expando -- a value that can be used as a target in assignment
declarations. Currently, a class, function or empty object literal.
Functions are allowed in Typescript, too. Previously called a JS
container, JS initializer or expando object.
3. JavaScript -> Javascript. This is annoying to type, and looks like
'Java Script' in a camelCase world.

Everything is a pure rename as far as I know. The only test change is
the API baselines, which reflect the rename from SymbolFlags.JSContainer
to SymbolFlags.Assignment.

* Remove TODO

* Rename Javascript->JS

Note that this introduces a variable name collision in a couple of
places, which I resolved like this:

```ts
const isInJavascript = isInJSFile(node);
```
2018-09-12 10:44:46 -07:00
Ron Buckton
70b6bd95c3 Cut back on more 'caught exceptions' from vfs 2018-05-11 20:44:21 -07:00
Andy
7271ec1240 Add 'move to new file' refactor (#23726)
* Add 'move to new file' refactor

* Code review, and support commonjs

* Compute movedSymbols completely before using, and support `export import`

* Fix assertion error: sort empty change before non-empty change

* Remove extra newline

* Add allowTextChangesInNewFiles preference

* Add the new file to 'files' in tsconfig

* Avoid parameter initializer

* Update API baselines

* Use path relative to tsconfig.json

* Code review

* Fix error where node in tsconfig file was missing a source file
2018-05-10 11:17:04 -07:00
Wesley Wigham
cb42086bab Fix RWC tsconfig and lib paths (#23979)
* Fix RWC tsconfig paths

* Fix lints

* move helper from utils into vpath
2018-05-08 17:07:54 -07:00
Ron Buckton
1dff0af646 More path cleanup 2018-05-01 18:53:54 -07:00
Ron Buckton
8424c4d1ab Partial migration of some shared vpath functionality to core 2018-04-27 13:58:45 -07:00
Ron Buckton
c9c562afac Reorganize and remove duplication 2018-04-24 10:48:55 -07:00
Ron Buckton
6b79161f65 More cleanup and reorganization 2018-04-19 16:48:50 -07:00
Ron Buckton
1658770015 Trim unused functionality 2018-04-18 16:12:58 -07:00
Ron Buckton
154f09bee9 Reorganize project structure. 2018-04-17 18:42:59 -07:00
Ron Buckton
ea9f999dfc Merge branch 'master' into vfs 2018-03-08 10:46:36 -08:00
Ron Buckton
4d8d51452c Migrate core.ts 2018-01-30 11:57:47 -08:00
Ron Buckton
d0988b8078 PR Feedback 2018-01-29 15:35:44 -08:00
Ron Buckton
ee415576b6 More consistent POSIX-like virtual file system. 2018-01-19 21:58:46 -08:00
Ron Buckton
1cb1088e8a Update projects tests to use vfs 2017-12-10 17:35:42 -08:00
Ron Buckton
cd0809e4d6 Deprecate CompilerResult 2017-11-10 13:52:12 -08:00
Ron Buckton
4697ba3e50 Add support for variations in module/target in compiler tests 2017-11-09 18:35:24 -08:00
Ron Buckton
8245f6246d Update Harness.compileFiles to use vfs 2017-11-09 16:01:33 -08:00
Ron Buckton
8a70e175b8 Cleanup after merge 2017-11-07 13:44:12 -08:00
Ron Buckton
41aeaae7c1 Cleanup, add watch capabilities 2017-10-19 17:48:13 -07:00
Ron Buckton
5b4553d6a5 Updated vfs 2017-10-10 15:53:37 -07:00