Giter Club home page Giter Club logo

Comments (21)

Uzaaft avatar Uzaaft commented on June 14, 2024 3

I guess a separate section it is. Opening a PR ASAP

from lunarvim.org.

haexyh avatar haexyh commented on June 14, 2024 1

Can someone provide any update on this?

from lunarvim.org.

vonPB avatar vonPB commented on June 14, 2024 1

Since we got more than just Angular as a framework, I wouldn't mind having an additional frameworks page :)

from lunarvim.org.

Uzaaft avatar Uzaaft commented on June 14, 2024

I`ll work on this. Should we consider Angular as its own language(like we do vue) or should it be underneath Typescript?

from lunarvim.org.

camiloaromero23 avatar camiloaromero23 commented on June 14, 2024

I think it should be as it is worked with vue, as far as I know, angular has its own language server (like vue). I think it is called angularls (Correct me if I'm wrong)

from lunarvim.org.

Uzaaft avatar Uzaaft commented on June 14, 2024

But unlike Vue Angular files are normal typescript files. Vue files have their own file extension

from lunarvim.org.

camiloaromero23 avatar camiloaromero23 commented on June 14, 2024

You got a point, but usually, Angular files end up with file.component.[ts,html,css]. For tests file.component.spec.ts and for the modules file.module.ts. So I think it is better to split up Angular from typescript because if I want to code in typescript itself, most of the time I don't want angularls to start. I don't think you're wrong but I also got a point

from lunarvim.org.

Uzaaft avatar Uzaaft commented on June 14, 2024

@kylo252 @abzcoding Any thoughts about the topic before I write the docs?

from lunarvim.org.

abzcoding avatar abzcoding commented on June 14, 2024

@kylo252 @abzcoding Any thoughts about the topic before I write the docs?

i'd appreciate it :) nothing else , tyvm <3

from lunarvim.org.

Uzaaft avatar Uzaaft commented on June 14, 2024

Anyone who has a current config where angularls starts in an Angular project? Could not get it to start automatically with zero config beside :lspinstall angularls

from lunarvim.org.

Uzaaft avatar Uzaaft commented on June 14, 2024

@abzcoding @camiloaromero23 Do you guys have a current confign where the angularls lsp starts in an Angular project?

from lunarvim.org.

abzcoding avatar abzcoding commented on June 14, 2024

@abzcoding @camiloaromero23 Do you guys have a current confign where the angularls lsp starts in an Angular project?

sadly no 😞

from lunarvim.org.

camiloaromero23 avatar camiloaromero23 commented on June 14, 2024

No 😒

from lunarvim.org.

Uzaaft avatar Uzaaft commented on June 14, 2024

@abzcoding I think I figured out why it didn't start.
Could it be because the tsserver is prioritised higher than the angularls server?
image
Or because it is overridden?

from lunarvim.org.

abzcoding avatar abzcoding commented on June 14, 2024

If a server is in the override list, you have to set up and call it explicitly.
I don’t think there is any other priority.

from lunarvim.org.

kylo252 avatar kylo252 commented on June 14, 2024

is it anything beyond this?

local opts = {}
require'lvim.lsp.manager'.setup("angularls", opts)

cc: @haexyh, @terr-steak

from lunarvim.org.

olrtg avatar olrtg commented on June 14, 2024

is it anything beyond this?

local opts = {}
require'lvim.lsp.manager'.setup("angularls", opts)

cc: @haexyh, @terr-steak

Yeah, as far as I remember it was much more than that.. even projects before Ivy were using a different version of the lsp.. vscode handles this for the user with the Angular extension. And also if I'm not mistaken a project for example with Angular 12 should also use the lsp in v12.x.x. I remember giving up on this in march of this year πŸ˜“ . But who knows.. maybe I'm just dumb haha

from lunarvim.org.

olrtg avatar olrtg commented on June 14, 2024

@kylo252 can you assign this to me though? I'd like to give this a try once again.

from lunarvim.org.

olrtg avatar olrtg commented on June 14, 2024

is it anything beyond this?

local opts = {}
require'lvim.lsp.manager'.setup("angularls", opts)

cc: @haexyh, @terr-steak

Well.. it seem to work just with this πŸ˜…
Now, there will be probably some problems still with projects pre Ivy (< v9, released in 2020) due to this neovim/nvim-lspconfig#1155 (comment)

About the docs.. @kylo252 should I put this documentation inside the "Languages" category? Asking because Angular is not a programming language πŸ‘€ or should I add a new "Frameworks" category and maybe move Vue with it?

from lunarvim.org.

kylo252 avatar kylo252 commented on June 14, 2024

Now, there will be probably some problems still with projects pre Ivy (< v9, released in 2020) due to this neovim/nvim-lspconfig#1155 (comment)

here are some problems we need to address in the docs

  • how about the interaction with tsserver, does it need to be disabled?
  • what about css servers?
  • anything useful that null-ls can provide?

About the docs.. @kylo252 should I put this documentation inside the "Languages" category? Asking because Angular is not a programming language πŸ‘€ or should I add a new "Frameworks" category and maybe move Vue with it?

this seems like a question for @ChristianChiarulli and @vonPB :)

from lunarvim.org.

olrtg avatar olrtg commented on June 14, 2024

here are some problems we need to address in the docs

  • how about the interaction with tsserver, does it need to be disabled?
  • what about css servers?
  • anything useful that null-ls can provide?

@kylo252 tsserver should be enabled since you'll still using typescript.. AFAIK angularls gives completion for component templates, so in reality angularls will be working most of the time with the html lsp.

In terms of css Angular can use plain css, a pre-processor like SASS or something else like tailwindcss.. or what is your question?

For null-ls nothing that I know of. You can still format your code with all the tools used for regular javascript projects or use something like eslint for linting.

from lunarvim.org.

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.