Giter Site home page Giter Site logo

Comments (11)

svenefftinge avatar svenefftinge commented on May 18, 2024 1

Let's consider aligning module names too within the context of this task. Currently, we have file-system, fs, and filesystem. Pick one, and use that consistently.

I renamed them to filesystem here TypeFox@102ae1b

from theia.

hexa00 avatar hexa00 commented on May 18, 2024

Note however that stats doesn't seem like a replacement to Path even if it could be part of it... I think the object returned by path.parse would be more appropriate and use path.join etc

from theia.

kittaakos avatar kittaakos commented on May 18, 2024

DONE: Let's consider aligning module names too within the context of this task. Currently, we have file-system, fs, and filesystem. Pick one, and use that consistently.

from theia.

kittaakos avatar kittaakos commented on May 18, 2024

We need test coverage for cp too.

from theia.

akosyakov avatar akosyakov commented on May 18, 2024

https://github.com/TypeFox/monaco-languageclient/blob/74bc8038427875ecb5d025821d118d4d9b02c47c/src/diagnostic-collection.ts#L87 should be this.uri.toString() === model.uri.toString() after we got rid of workspace relative paths

from theia.

akosyakov avatar akosyakov commented on May 18, 2024

LSP expects uris, we should consider to use uri instead of path to avoid unnecessary remote calls to get an uri for a path, e.g. in the case of file events

from theia.

svenefftinge avatar svenefftinge commented on May 18, 2024

vscode's IFileSystem looks like a pretty close match to what we want to have https://github.com/Microsoft/vscode/blob/master/src/vs/platform/files/common/files.ts

from theia.

svenefftinge avatar svenefftinge commented on May 18, 2024

Maybe we should use https://medialize.github.io/URI.js/docs.html instead of monaco's uri.
It supports things like resolving relative uris against absolute once.

from theia.

svenefftinge avatar svenefftinge commented on May 18, 2024

That said, in the protocol we should use plain strings and put the uri-part into the parameter names.
I.e. resource: URI would become uri: string

from theia.

kittaakos avatar kittaakos commented on May 18, 2024

The current FS API work is being done on the fs_redesign branch. The changes can be reviewed here.

from theia.

svenefftinge avatar svenefftinge commented on May 18, 2024

I merged the branch. Follow-up issues should be filed separately

from theia.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.