profile
viewpoint

dprint/dprint 398

Pluggable and configurable code formatting platform written in Rust.

dsherret/conditional-type-checks 266

Types for testing TypeScript types.

dsherret/code-block-writer 30

Code writer that assists with formatting and visualizing blocks of JavaScript or TypeScript code.

dsherret/barrel-maintainer 12

Automated real-time maintenance of barrels in JavaScript and TypeScript.

dsherret/server-bridge 10

Code generation for a statically typed bridge between the client and server in TypeScript

dprint/jsonc-parser 6

JSONC parser for Rust

dsherret/dts-minify 1

Minifier for TypeScript declaration files (.d.ts)

dsherret/AudioKit 0

Open-source audio synthesis, processing, & analysis platform.

dsherret/bootstrap-contextmenu 0

Context menu plugin for Twitter's Bootstrap framework

push eventdprint/plugins

David Sherret

commit sha 9d68eca58133f1fe39c975ae4c2f9dee8c60dd94

dprint-plugin-yapf 0.1.0

view details

push time in 14 minutes

created tagdprint/dprint-plugin-yapf

tag0.1.0

yapf wrapper Python code formatting plugin for dprint

created time in 17 minutes

delete tag dprint/dprint-plugin-yapf

delete tag : 0.1.0

delete time in 17 minutes

created tagdprint/dprint-plugin-yapf

tag0.1.0

yapf wrapper Python code formatting plugin for dprint

created time in 23 minutes

push eventdprint/dprint-plugin-yapf

David Sherret

commit sha b182bf79c981ae5d168ea6a864ecb506d8e80c80

fix: Fix linux.

view details

push time in 23 minutes

push eventdprint/plugins

David Sherret

commit sha 724c3f78264f3b24a14ef4dcfb6118ae2be6000a

Delete yapf-0.1.0.exe-plugin

view details

push time in 23 minutes

delete tag dprint/dprint-plugin-yapf

delete tag : 0.1.0

delete time in 23 minutes

push eventdprint/dprint-plugin-yapf

David Sherret

commit sha 3c98b24b379c831d6b0af530f5477166ba7f293f

chore: Update internal formatting plugin.

view details

push time in an hour

push eventdprint/plugins

David Sherret

commit sha f06a2abab2520e0be84462030995aadc952a726f

dprint-plugin-yapf 0.1.0

view details

push time in an hour

push eventdprint/dprint-plugin-yapf

David Sherret

commit sha 35aa954b37992c07f61fe0a21b6bd074fbd99f20

chore: Ensure initialize happens in correct folder.

view details

push time in an hour

created tagdprint/dprint-plugin-yapf

tag0.1.0

yapf wrapper Python code formatting plugin for dprint

created time in an hour

delete tag dprint/dprint-plugin-yapf

delete tag : 0.1.1

delete time in an hour

delete tag dprint/dprint-plugin-yapf

delete tag : 0.1.0

delete time in an hour

push eventdprint/plugins

David Sherret

commit sha 353b90df3a9e9ce73a8ca98f39bf07e0f386b75e

Delete yapf-0.1.1.exe-plugin

view details

push time in an hour

push eventdprint/plugins

David Sherret

commit sha 9782b6e2a5f221096462d30e9aad1478af0b56d4

Delete yapf-0.1.0.exe-plugin

view details

push time in an hour

push eventdprint/dprint-plugin-yapf

David Sherret

commit sha 1432b42e295a94e58b7b31d0f8e882b0cd9d9370

chore: Update internal yapf formatting plugin.

view details

push time in an hour

push eventdprint/dprint

David Sherret

commit sha 899650b28e0bca5f7d6539bafa8cf13c97a32c2f

chore(release): Bump dprint-core version.

view details

push time in an hour

push eventdprint/dprint

David Sherret

commit sha 47c03c3d077150f4d27d9cd8f130db2092f6f149

chore(release): Bump dprint-core version.

view details

push time in an hour

issue openeddprint/dprint

Installer and install scripts should kill running dprint processes

Now that dprint is used as an editor service, the installers should kill any running dprint services on install.

created time in an hour

created tagdprint/homebrew-dprint

tag0.9.0

Homebrew formula for dprint.

created time in an hour

push eventdprint/homebrew-dprint

David Sherret

commit sha 0a320ad99d1593d43c803296d47b57ebe4578048

0.9.0

view details

push time in an hour

push eventdprint/plugins

David Sherret

commit sha 2a26822a2e2b749de8be9c15d75e2e8c787257a2

dprint-plugin-yapf 0.1.1

view details

push time in 2 hours

push eventdprint/dprint

David Sherret

commit sha 17f248e2da7da9cade33ef3dd0dad0582f30d6f8

chore(release): 0.9.0

view details

push time in 2 hours

created tagdprint/dprint

tag0.9.0

Pluggable and configurable code formatting platform written in Rust.

created time in 2 hours

created tagdprint/dprint-plugin-yapf

tag0.1.1

yapf wrapper Python code formatting plugin for dprint

created time in 2 hours

push eventdprint/dprint-plugin-yapf

David Sherret

commit sha 1a6ce7f1b9707510f1a978db98872befdcbdd179

fix: Restrict to a certain version of yapf.

view details

push time in 2 hours

push eventdprint/dprint-plugin-yapf

David Sherret

commit sha db9bd1e07c34521195c4fd970b13159d6f93d3f2

chore: Add .dprintrc.json

view details

push time in 2 hours

push eventdprint/plugins

David Sherret

commit sha 28f7312a736adadf3f2718752058dcb2988b40aa

dprint-plugin-yapf 0.1.0

view details

push time in 2 hours

push eventdprint/dprint-plugin-yapf

David Sherret

commit sha bd839b486399917c0b67effa3c46b5090db2125b

chore: Add script to check if the script compiles in python 2 and 3

view details

push time in 2 hours

created tagdprint/dprint-plugin-yapf

tag0.1.0

yapf wrapper Python code formatting plugin for dprint

created time in 2 hours

create barnchdprint/dprint-plugin-yapf

branch : master

created branch time in 2 hours

issue commentdsherret/ts-morph

TypeError: t.getStructure is not a function when calling classDeclaration.getStructure()

@dmnsgn it would probably be best not to do that because that code would cause some people to lose some tags. It would be better to just ensure everything is implemented.

The remaining JSDocTags are:

  • JSDocAuthorTag
  • JSDocCallbackTag
  • JSDocEnumTag
  • JSDocImplementsTag

So it would be best to just implement those to ensure this error doesn't occur. I've opened #854

dmnsgn

comment created time in 4 hours

issue openeddsherret/ts-morph

Implement remaining js doc tags

  • JSDocAuthorTag
  • JSDocCallbackTag
  • JSDocEnumTag
  • JSDocImplementsTag

An example of how some of the other nodes were implemented is here: https://github.com/dsherret/ts-morph/pull/849/commits

created time in 4 hours

push eventdsherret/ts-ast-viewer

Deployment Bot (from Travis CI)

commit sha 937f872b038b528d08b33fcc11f5af4c66568e63

Deploy dsherret/ts-ast-viewer to github.com/dsherret/ts-ast-viewer.git:gh-pages

view details

push time in 4 hours

pull request commentwbond/package_control_channel

Add dprint

@FichteFoll thanks for the pointers! I will do these fixes soon.

For the purpose of just getting approved would this be able to get merged? I'm asking because it's taken over a month to get to this point and perhaps it might just be better to merge and then I can do the fixes after (as nobody is using this yet).

dsherret

comment created time in 5 hours

issue closeddprint/dprint

Process plugins: Add init flag for initialization

The first time it runs a process plugin the CLI should provide an --init flag. This will allow the plugin to check for and install dependencies without wasting time in the future.

closed time in 6 hours

dsherret

push eventdprint/plugins

David Sherret

commit sha 6fc418551a332da82ef124e02ab345ab256c718a

dprint-plugin-typescript 0.29.0

view details

push time in 16 hours

push eventdprint/plugins

David Sherret

commit sha 97541749f8a5a22648c117ee868b6ef363768a12

Update typescript-v0.json

view details

push time in 16 hours

created tagdprint/dprint-plugin-typescript

tag0.29.0

TypeScript and JavaScript code formatting plugin for dprint.

created time in 16 hours

push eventdprint/dprint-plugin-typescript

David Sherret

commit sha bd750872d3810b82b3d8a6318c9fcc3b56ab2e4f

refaactor: #11 - typeLiteral.separatorKind should be singular

view details

push time in 16 hours

push eventdprint/plugins

David Sherret

commit sha 3810261178ef742f759227d59b6650a991bb8de7

Update typescript-v0.json

view details

push time in 16 hours

push eventdsherret/deno

Bartek Iwańczuk

commit sha 69552b1defcd77748de87fc4c9311b1baec1361d

upgrade: deno_lint v0.1.17 (#6869)

view details

Trivikram Kamat

commit sha 017aa1ca1b63f08bd251ef3bd0fc6b540d2b5fdd

chore: remove TODO about manual JSON parsing (#6878)

view details

Mark Tiedemann

commit sha 9f3ab4dca7ed5c810352b67fce24aa800defc5a6

Shorten Windows file description (#6881)

view details

Trivikram Kamat

commit sha 35a1421fb1b8407a13e33081ad2dbc05460e7452

chore: use ts-expect-error instead of ts-ignore (#6876)

view details

Jordan Cannon

commit sha 3b7fdd6734c4f1dbc34b0971296464395dc173bf

Fix typo (#6872)

view details

Marcin Puc

commit sha 7326e1ab490aab2220b139460165be0bfbf04f36

fix(std/json): Add newline at the end of json files (#6885)

view details

Trivikram Kamat

commit sha c8fc679329f45f50c061a67400e572f356b7890f

test(std): remove unstable from multiple tests (#6882)

view details

Trivikram Kamat

commit sha ccd0d0eb79db6ad33095ca06e9d491a27379b87a

chore(ci): update actions to run on macos-10.15 (#6884)

view details

Kitson Kelly

commit sha 076547fbbb52b1df9d6db36dd72353bffa9e4a8b

chore: use matches macro for bool matches (#6904)

view details

Ryan Dahl

commit sha b7942bf0f6f151e172db9b1e08cf4436e8365e8b

Change release build flags to optimize for size (#6907)

view details

Bartek Iwańczuk

commit sha 315efbc0e86d9d848efa4b889aefbc665508598a

fix: downcast from SwcDiagnosticBuffer to OpError (#6909)

view details

Bartek Iwańczuk

commit sha c6917133942c791480cd2aec7297b2a2ee623059

refactor: Use SWC to strip types for "--no-check" flag (#6895)

view details

Luca Casonato

commit sha 1b60840f286bc0203a3bd2900f67557a8ff2c3f6

feat(std/async): add pooledMap utility (#6898)

view details

Nayeem Rahman

commit sha 6afe7bbd395eb34febd25bda48c5cd82f0a4f8b3

fix(std/path): Percent-decode in fromFileUrl() (#6913)

view details

Kid

commit sha 391088c6ff531ac6714e9076eb62f2294793ccdd

docs(std/encoding): Fix TOML docs (#6912)

view details

zfx

commit sha 95597fc6e2ed9975c26eae77ba68ae42ca2c331a

fix(std/tar): directory type bug (#6905)

view details

Divy Srivastava

commit sha 0da4779b178a0c97925c1ef5589d0f24a37f4501

feat(unstable): add "--ignore" flag to deno fmt (#6890)

view details

Nayeem Rahman

commit sha 6e7208bec2911ac0d1729f334fc90bc50b8f9203

fix(cli/rt): Fix file URL to path conversion on Windows (#6920)

view details

Luca Casonato

commit sha 4afb4b6e46de2ed536a3c9828d70d7799b5b6d03

feat: add $STD_VERSION replacement variable in docs (#6922)

view details

Bartek Iwańczuk

commit sha b718e6ff53156a0aae486e570ce7c9cb8a3b822a

upgrade: deno_lint, dprint, swc (#6928) This commit upgrades: deno_lint 0.1.20 dprint-plugin-typescript 0.25.0 swc_ecmascript 0.1.0 SWC is no longer reexported from dprint nor deno_lint.

view details

push time in 16 hours

push eventdprint/plugins

David Sherret

commit sha c5e2fd5bf6469bdbaffaba38d8b480576b62d586

Add `typeLiteral.separatorKind` to typescript schema.

view details

David Sherret

commit sha edf6d38226a0088b040801f5523dcaa120db4374

Merge branch 'master' of https://github.com/dprint/plugins

view details

push time in 16 hours

push eventdprint/dprint

David Sherret

commit sha 3df7c626ca538867707719c3c2c9ec69ab33c823

feat: #294 - Process plugins - Add `--init` flag for initialization

view details

push time in 16 hours

issue openeddprint/dprint

Process plugins: Add init flag for initialization

The first time it runs a process plugin the CLI should provide an --init flag. This will allow the plugin to check for and install dependencies without wasting time in the future.

created time in 17 hours

issue openedindygreg/PyOxidizer

Ability to run single python file

It might be nice if there were a run_script option that someone could just specify the path to a single python file and run that. Right now this requires a bit of boilerplate because it seems to require having to create a package.

Anyway, it took me a while to set this up and this looks like a nice project, but I found out that I'm not able to use it because #69 doesn't have a solution that doesn't require fixing downstream dependencies. So this feature request is just my suggestion and I don't personally need it.

created time in 17 hours

startedRustPython/RustPython

started time in 18 hours

push eventdprint/plugins

David Sherret

commit sha 789261b265fea8f107ef1cc19408bf0e621b6078

dprint-plugin-typescript 0.28.1

view details

push time in 19 hours

created tagdprint/dprint-plugin-typescript

tag0.28.1

TypeScript and JavaScript code formatting plugin for dprint.

created time in 19 hours

push eventdprint/dprint-plugin-typescript

David Sherret

commit sha 0b5e67f4ecf59fa9a5f0c174b21bffa1065dc0c4

fix: Fix formatting of private methods.

view details

push time in 19 hours

delete branch dprint/dprint-plugin-typescript

delete branch : comma_as_separator

delete time in a day

push eventdprint/dprint-plugin-typescript

David Sherret

commit sha 7bd2d8d30379f91ef8ac1e21f76dcbb0b2f2a6c6

Configuration for #11.

view details

David Sherret

commit sha bfcc7814d6ca1916f98023881ee284ab314342b2

#11 - Refactor into using a "Separator" struct that specifies the separator based on whether single-line or multi-line

view details

David Sherret

commit sha d3f0aebf4ea6f77fd90a18de1ad3d112c5edacb4

Implement rest of feature.

view details

David Sherret

commit sha fc702a0660fceb13bf976d56d04396b51be4e0c3

Pluralize option values.

view details

David Sherret

commit sha ecd9f12137c34402145d7a6d93c3d8143e057a05

Support using a comma as separator in type literals (#40) * Configuration for #11. * #11 - Refactor into using a "Separator" struct that specifies the separator based on whether single-line or multi-line * Implement rest of feature. * Pluralize option values.

view details

push time in a day

PR merged dprint/dprint-plugin-typescript

Support using a comma as separator in type literals enhancement

Adds the following configuration:

  • typeLiteral.separatorKind
  • typeLiteral.separatorKind.singleLine
  • typeLiteral.separatorKind.multiLine

With possible values "semiColons" or "commas". So for example:

"semiColons": "asi",
"typeLiteral.separatorKind.singleLine": "commas",

TODO:

  • [ ] Update schema file with changes.

Closes #11

+293 -97

0 comment

9 changed files

dsherret

pr closed time in a day

issue closeddprint/dprint-plugin-typescript

TypeScript: Comma as separator for single-line type literal

Is your feature request related to a problem? Please describe.

I want to write this code:

type MyObject = { foo: number, bar: string }

But dprint-plugin-typescript converts it to semicolons:

type MayObject = { foo: number; bar: string }

which it is not what I want.

Describe the solution you'd like

While I prefer commas as separator, others might prefer semicolons, so I suggest a configuration key should be introduced to specify whether the separator should be commas or semicolons:

  • objectLiteralTypeSeparator: 'comma' | 'semicolon'
  • singleLineObjectLiteralTypeSeparator: 'comma' | 'semicolon''
  • multiLineObjectLiteralTypeSeparator: 'comma' | 'semicolon' | 'none'

Describe alternatives you've considered

Additional context

I have set .semi_colons(SemiColons::Asi) in my own formatter, so I would prefer multi-line object literal type to not have separator.

closed time in a day

KSXGitHub

push eventdsherret/ts-ast-viewer

Deployment Bot (from Travis CI)

commit sha b79046263c726a52b26738b9965ae091eaced864

Deploy dsherret/ts-ast-viewer to github.com/dsherret/ts-ast-viewer.git:gh-pages

view details

push time in a day

push eventdprint/plugins

David Sherret

commit sha e1941d7a70595fce52a3d59a231cf55f2475ad72

dprint-plugin-typescript 0.28.0

view details

push time in a day

push eventdsherret/ts-ast-viewer

Deployment Bot (from Travis CI)

commit sha 4e0b089b67bc01c7efc519330c0a4e1b16aa6b8d

Deploy dsherret/ts-ast-viewer to github.com/dsherret/ts-ast-viewer.git:gh-pages

view details

push time in 2 days

issue commentdsherret/ts-morph

Question: Compare files ignoring whitespace and comments

I doubt it. Perhaps it would be appropriate to add this into ts-morph as a method. Maybe Node#areTokensEqual(node)?

no-more

comment created time in 3 days

issue commentdprint/dprint-plugin-typescript

TypeScript: Comma as separator for single-line object literal type

@KSXGitHub if you get the chance would you be able to check out the description on #40 and let me know if that looks good? Thanks! I believe it solves this issue.

Also, see this test:

https://github.com/dprint/dprint-plugin-typescript/pull/40/files#diff-f403c5f8b63b9b06fd9a0f5c0d028843

KSXGitHub

comment created time in 3 days

PR opened dprint/dprint-plugin-typescript

Support using a comma as separator in type literals enhancement

Adds the following configuration:

  • typeLiteral.separatorKind
  • typeLiteral.separatorKind.singleLine
  • typeLiteral.separatorKind.multiLine

With possible values "semiColons" or "commas". So for example:

"semiColons": "asi",
"typeLiteral.separatorKind.singleLine": "commas",

Closes #11

+293 -97

0 comment

9 changed files

pr created time in 3 days

push eventdprint/dprint-plugin-typescript

David Sherret

commit sha fc702a0660fceb13bf976d56d04396b51be4e0c3

Pluralize option values.

view details

push time in 3 days

push eventdprint/dprint-plugin-typescript

David Sherret

commit sha d3f0aebf4ea6f77fd90a18de1ad3d112c5edacb4

Implement rest of feature.

view details

push time in 3 days

push eventdprint/dprint-plugin-typescript

David Sherret

commit sha bfcc7814d6ca1916f98023881ee284ab314342b2

#11 - Refactor into using a "Separator" struct that specifies the separator based on whether single-line or multi-line

view details

push time in 3 days

push eventdprint/dprint-plugin-typescript

David Sherret

commit sha 7bd2d8d30379f91ef8ac1e21f76dcbb0b2f2a6c6

Configuration for #11.

view details

push time in 3 days

create barnchdprint/dprint-plugin-typescript

branch : comma_as_separator

created branch time in 3 days

push eventdprint/dprint-plugin-prettier

David Sherret

commit sha ee45b378ccf98bcaf9b2442112e218134ac38478

chore: Update plugins and format code.

view details

push time in 3 days

push eventdprint/dprint-plugin-prettier

David Sherret

commit sha f9206e897e66ebc2ed4dd91f4355504e3ea63a54

chore: Improve release message.

view details

push time in 3 days

push eventdprint/dprint-plugin-roslyn

David Sherret

commit sha 6ce4b7cce954cc07669ad06d069ae72c5b7bb657

chore: Improve release message text.

view details

push time in 3 days

push eventdprint/dprint-plugin-prettier

David Sherret

commit sha 5b4b743eb4b59d2509d713a19e8667f1adad7dab

chore: Improve release message.

view details

push time in 3 days

issue openeddprint/dprint-plugin-prettier

Invalid configuration should end up in configuration diagnostics

Right now it will throw an error on every format if the config is wrong.

created time in 3 days

push eventdprint/dprint-plugin-prettier

David Sherret

commit sha 0f12d7bce2888821f3aa85d07a8853613595855b

chore: Improve release message.

view details

push time in 3 days

push eventdprint/dprint

David Sherret

commit sha c5237e8b2e747341bf34c8f3105f638f5f22bd24

chore(docs): #276 - Improve some internal documentation.

view details

push time in 3 days

push eventdprint/dprint

David Sherret

commit sha 63d10d8bcbce34e893a00279c74a82608d3a0e0c

chore(docs): #276 - Improve some internal documentation.

view details

push time in 3 days

push eventdsherret/ts-ast-viewer

Deployment Bot (from Travis CI)

commit sha 185f30f262c71c9125a0eb43a2cf6f3f35b5a739

Deploy dsherret/ts-ast-viewer to github.com/dsherret/ts-ast-viewer.git:gh-pages

view details

push time in 3 days

push eventdsherret/ts-morph

sisisin

commit sha fff2cf8aeba80398cb221348abc8120d9026a839

feat(ts-morph): allow calling Node.is** functions undefined value #842

view details

sisisin

commit sha 06cc19c7c5745461fd2e22a54f5bfd059a985f8f

feat: #842 - Allow calling Node.is** functions with undefined value

view details

David Sherret

commit sha 080753a4b9e3c41c79c7480b6fc364461899e84a

chore: Update declaration file.

view details

David Sherret

commit sha 51cbbea3da79b54e50afd9bec0cfb43f8737d073

chore(release): ts-morph 7.3.0

view details

push time in 3 days

created tagdsherret/ts-morph

tag7.3.0

TypeScript Compiler API wrapper for static analysis and programmatic code changes.

created time in 3 days

push eventdsherret/ts-morph

David Sherret

commit sha 080753a4b9e3c41c79c7480b6fc364461899e84a

chore: Update declaration file.

view details

David Sherret

commit sha 51cbbea3da79b54e50afd9bec0cfb43f8737d073

chore(release): ts-morph 7.3.0

view details

push time in 3 days

pull request commentdsherret/ts-morph

test(ts-morph): fix failured test case

I was confused about this, but now I figured it out. You correctly did the change on the master branch, which I forgot to update, then now this PR is targeting the latest branch, which has the change.

I will need to rethink my branching strategy because this is not working overall. I'm going to close this because it was already fixed here: https://github.com/dsherret/ts-morph/commit/3f8c40f53587ced9f3c619fb5eec18789a1be112

sisisin

comment created time in 3 days

push eventdsherret/ts-morph

sisisin

commit sha 06cc19c7c5745461fd2e22a54f5bfd059a985f8f

feat: #842 - Allow calling Node.is** functions with undefined value

view details

push time in 3 days

pull request commentdsherret/ts-morph

feat(ts-morph): allow calling Node.is** functions undefined value #842

Perfect! Thanks a lot @sisisin! I will do a release now 😀

sisisin

comment created time in 3 days

push eventdsherret/ts-morph

sisisin

commit sha fff2cf8aeba80398cb221348abc8120d9026a839

feat(ts-morph): allow calling Node.is** functions undefined value #842

view details

David Sherret

commit sha 7ba5323ee934e5a99bd0cf379b32c5ea9500bd24

feat: #842 - Allow calling Node.is** functions with undefined value

view details

push time in 3 days

PR merged dsherret/ts-morph

feat(ts-morph): allow calling Node.is** functions undefined value #842

resolve #842

Note

I can't find test cases of Node.is** , so this PR didn't add test...

+385 -410

0 comment

2 changed files

sisisin

pr closed time in 3 days

issue closeddsherret/ts-morph

Allow calling `Node.is***` functions undefined value

Is your feature request related to a problem? Please describe.

Sometime, TypeScript Compiler API returns Node | undefined value. I want to check this Node kind with using Node.is*** API, but I need to check undefined before call Node.is*** function.

Describe the solution you'd like

Change this function to following code

-    static is<TKind extends keyof KindToNodeMappings>(kind: TKind): (node: compiler.Node) => node is KindToNodeMappings[TKind] {
-        return (node: compiler.Node): node is KindToNodeMappings[TKind] => {
-            return node.getKind() == kind;
+    static is<TKind extends keyof KindToNodeMappings>(kind: TKind): (node: compiler.Node | undefined) => node is KindToNodeMappings[TKind] {
+        return (node: compiler.Node | undefined): node is KindToNodeMappings[TKind] => {
+            return node?.getKind() == kind;
        };
    }

closed time in 3 days

sisisin

push eventdsherret/ts-morph

David Sherret

commit sha f2724c0d6878bf64c35425c6e25c296763c4c447

chore: Generate declaration file.

view details

David Sherret

commit sha 3f8c40f53587ced9f3c619fb5eec18789a1be112

chore: Fix broken test (output is now better).

view details

push time in 3 days

issue openeddprint/dprint

Make it easy for people who don't have dprint installed to format projects that use dprint

Need to make it easy for people to setup their projects so users can just come in and do, for example, yarn format and it just works.

If anything, this might just be setup instructions.

created time in 4 days

issue closeddprint/dprint-plugin-typescript

TS 4.0: Support type on catch clause bindings

Once https://github.com/swc-project/swc/issues/941 is implemented.

closed time in 4 days

dsherret

push eventdsherret/ts-ast-viewer

Deployment Bot (from Travis CI)

commit sha 41047c1ca89c58cea08218b53a41ce635636cc32

Deploy dsherret/ts-ast-viewer to github.com/dsherret/ts-ast-viewer.git:gh-pages

view details

push time in 4 days

issue commentdprint/dprint-plugin-roslyn

Warm up JIT for formatting code on initialization

Explanation on why CoreRT didn't work is here: https://github.com/dotnet/corert/issues/8202#issuecomment-671160593

Roslyn has infinite recursive expansion around Microsoft.CodeAnalysis.VisualBasic.TypeArgumentInference.StronglyConnectedComponent<TGraphNode> ...

If you see the compiler not making progress and consuming a lot of memory, it is pretty much always infinite generic expansion. We know that we need a better error reporting for it.

dsherret

comment created time in 4 days

push eventdprint/dprint-plugin-typescript

David Sherret

commit sha c13f49356a8708a87280256580b8f1ab2b9f99cb

feat: #39 - TS 4.0: Support type on catch clause bindings.

view details

push time in 4 days

issue commentdotnet/corert

CoreRT using too much memory

@jkotas interesting and thanks for letting me know!

VS-ux

comment created time in 5 days

push eventdsherret/ts-morph

David Sherret

commit sha 3f8c40f53587ced9f3c619fb5eec18789a1be112

chore: Fix broken test (output is now better).

view details

push time in 5 days

push eventdsherret/ts-morph

David Sherret

commit sha f2724c0d6878bf64c35425c6e25c296763c4c447

chore: Generate declaration file.

view details

push time in 5 days

issue commentdsherret/ts-morph

TypeError: t.getStructure is not a function when calling classDeclaration.getStructure()

This was failing for the same reason as #779 (the JSDocReadonlyTag wasn't implemented... see https://github.com/dsherret/ts-morph/blob/latest/packages/ts-morph/wrapped-nodes.md#not-exist).

I've fixed this by implementing that tag. Will be released momentarily.

dmnsgn

comment created time in 5 days

push eventdsherret/ts-morph

sisisin

commit sha 1f60958b2567ba32074a88ffc4d221e2137d1488

fix: change newline charactor CRLF to LF (#841)

view details

David Sherret

commit sha bad062c27227649add97f97b99d11bb3d4d5b8c7

chore: Temp.

view details

David Sherret

commit sha d98af1cb6695a24dc2846fdfc3981f0bbe88e2dc

Merge branch 'master' of https://github.com/dsherret/ts-morph

view details

David Sherret

commit sha bc84d52172da461cb83019e0d238d1583b11e310

Merge branch 'latest'

view details

push time in 5 days

push eventdsherret/ts-morph

Jesse Wright

commit sha affc253382113f5a5e4d8f5bddbb095df1f3e916

feat: add quotations around enums with invalid names (#839) Co-authored-by: Jesse Wright <jesse@jesse-hp-laptop.local>

view details

David Sherret

commit sha 825bf8cf1f8f8ec27954495b03c633437b06cbea

chore: Format.

view details

David Sherret

commit sha 56b1a30147930181a51021cc9c6b96b01af4b973

Initial commit adding new tags.

view details

David Sherret

commit sha 0204ec9f7b47d09d5aa5f0b1205e2563e7bea161

Output of `yarn code-generate`

view details

David Sherret

commit sha 76dd875af54aa056211c35c0f3d49f546172eee5

Remove `.only` on test.

view details

David Sherret

commit sha d67b466dc67ed0a8545ae64a27b176f766d21546

Run `yarn output-wrapped-nodes`

view details

David Sherret

commit sha abbf2084d5dd0de1573598a7c52372b69daa50f4

feat: Implement JSDocReadonlyTag and others * Initial commit adding new tags. * Output of `yarn code-generate` * Remove `.only` on test.

view details

David Sherret

commit sha ed764a7e94734e92de642125f2ad2a7c4adc2205

fix: #840 - Correctly add name to class without name and with extends or implements.

view details

David Sherret

commit sha 675c5abd13e043c32072e254d56f2721a62565ea

chore(release): 7.2.0

view details

David Sherret

commit sha bad062c27227649add97f97b99d11bb3d4d5b8c7

chore: Temp.

view details

David Sherret

commit sha d98af1cb6695a24dc2846fdfc3981f0bbe88e2dc

Merge branch 'master' of https://github.com/dsherret/ts-morph

view details

David Sherret

commit sha bc84d52172da461cb83019e0d238d1583b11e310

Merge branch 'latest'

view details

push time in 5 days

created tagdsherret/ts-morph

tag7.2.0

TypeScript Compiler API wrapper for static analysis and programmatic code changes.

created time in 5 days

push eventdsherret/ts-morph

David Sherret

commit sha 675c5abd13e043c32072e254d56f2721a62565ea

chore(release): 7.2.0

view details

push time in 5 days

issue commentdsherret/ts-morph

Resolving to target type?

I believe the only way to do this is to get the type of Pick<V, Omit<V, Pick<V, K>>> (ex. propertyDec.getType()), then loop over all the properties using getProperties().

meandmax

comment created time in 5 days

issue commentdsherret/ts-morph

Resolving type import to target type

Thanks @aleclarson! I believe that's the answer.

meandmax

comment created time in 5 days

more