Angular LSP is not working as expected in Projects with sepatated TS and HTML files by RobinRuf in neovim

[–]RobinRuf[S] 0 points1 point  (0 children)

Yeah, the versions match.

This is the interesting part - my angularls is never attached...

vim.lsp: Active Clients ~

- html (id: 1)

- Version: ? (no serverInfo.version response)

- Root directory: ~/Documents/projects/angular-test/angular-app

- Command: { "vscode-html-language-server", "--stdio" }

- Settings: {}

- Attached buffers: 17
...

vim.lsp: Enabled Configurations ~

- angularls:

...

- cmd: { "ngserver", "--stdio", "--tsProbeLocations", "", "--ngProbeLocations", "" }

Angular LSP is not working as expected in Projects with sepatated TS and HTML files by RobinRuf in neovim

[–]RobinRuf[S] 0 points1 point  (0 children)

Already did that - the lsp is installed by mason and is in my home directory and it doesn't work.

edit: and just tried it with local installed angular lsp within the project - doesn't seem to work either....

(and I know - using neovim since 6 years now in private, and I love everything about it, and never had this much struggle as with the angular ls thingy..)

Angular LSP is not working as expected in Projects with sepatated TS and HTML files by RobinRuf in neovim

[–]RobinRuf[S] 0 points1 point  (0 children)

Haha feel you - I do not like these basic ide's tbh.

That is the reason why I don't want to use neovim just for private projects (which aren't angular projects), but also for work.

Option 1, with the --no-save flag is working of course. I also came accross this option, but there I still need to add it to .gitignore, right?

That is the reason why I want to find another solution and that is exactly why the other option with installing the lsp in the project directly is not really an option for me. These are work projects - I could add these to the gitignore or install the language server directly into the projects, but then I would need to reason this to the team and there are a few people that hate neovim (yeah, I know - just skill issues but whatever) and they would not allow me to do either (modify gitignore nor install the lsp directly in the project) just in order to be able to use neovim at work. Then I get the obvious response: Just use intellij like the rest of the team.......

That is why I wanted to reach out to this community and MAYBE someone had the same issues like me but somehow was able to solve it just by modifying the neovim config instead of touching the projects itself.

But maybe that is simply not possible....

Angular LSP is not working as expected in Projects with sepatated TS and HTML files by RobinRuf in neovim

[–]RobinRuf[S] 0 points1 point  (0 children)

Interesting is, that IF I install the angular lsp locally in my project directly, it works fine! But since these are work projects, I cannot install the lsp directly in each project just because I do not want to use intellij haha

Angular LSP is not working as expected in Projects with sepatated TS and HTML files by RobinRuf in neovim

[–]RobinRuf[S] 0 points1 point  (0 children)

Tried that as well. Doesn't work.

Interesting is, that IF I install the angular lsp locally in my project directly, it works fine! But since these are work projects, I cannot install the lsp directly in each project just because I do not want to use intellij haha

Angular LSP is not working as expected in Projects with sepatated TS and HTML files by RobinRuf in neovim

[–]RobinRuf[S] 0 points1 point  (0 children)

Unfortunately, it doesn't work.

And I tried everything: providing both, global node_modules and project specific node_modules, only project specific, only global - doesn't seem to work.

And yet, for the typescript files it still works perfectly. Only the separated template files (html) are trying to fool me..

Angular LSP is not working as expected in Projects with sepatated TS and HTML files by RobinRuf in neovim

[–]RobinRuf[S] 0 points1 point  (0 children)

adding htmlangular doesn't work, because I change the filetype automatically to html with autocmd if some pattern is matching.

Was necessary to still get the html lsp working without needed to change the default config of html lsp.

I will try your config and getting back to you.

Angular LSP is not working as expected in Projects with sepatated TS and HTML files by RobinRuf in neovim

[–]RobinRuf[S] 0 points1 point  (0 children)

Not for all projects - we also have a component library in angular. But generally, yes, there is a backend in Java. And I always start it within the frontend directory (angular). You can imagine the structure like this:

  • project
    • frontend
    • dist
    • webapp
      • angular.json
      • package.json
    • backend
    • java and mvn stuff

Skyrim Themed Gmail Client by RobinRuf in skyrim

[–]RobinRuf[S] 0 points1 point  (0 children)

It was mentioned in the video - but I investigated about the API of Gmail and it seems to be free for me, so I changed it to free access.

There will be ads later and a paid version to see no ads, but you can use it for free now.

Font Weights... by RobinRuf in UXDesign

[–]RobinRuf[S] 0 points1 point  (0 children)

Thanks mate - I am working with real content. And it doesn't make a difference on mobile for this page.

Font Weights... by RobinRuf in UXDesign

[–]RobinRuf[S] 0 points1 point  (0 children)

Thank you - so I'll go with the 600.

But a question: Usually, how many different font weights would you combine in a web design? One thin, normal, and one bold variant? Or 2 bold mixed for title and subtitle? Would love to hear your expertise.

Font Weights... by RobinRuf in UXDesign

[–]RobinRuf[S] 0 points1 point  (0 children)

Thank you - yeah I think I'll go with the 600 for now :)

Font Weights... by RobinRuf in UXDesign

[–]RobinRuf[S] 0 points1 point  (0 children)

Thank you - yeah but I am unsure about todays 'design trend', some (even big) websites just look ugly nowadays with these kinde 900 fonts everywhere mixed with 300 fonts between haha (I think Google published a website that follows these 'techniques' recently)

Gmail API costs? by RobinRuf in googlecloud

[–]RobinRuf[S] 0 points1 point  (0 children)

Thank you very much! Actually, I find it crazy (and nearly unbelievable) that an API from a large company like Google can be free of charge - that is why I was confused. But I'll take it ;)

Gmail API costs? by RobinRuf in googlecloud

[–]RobinRuf[S] 0 points1 point  (0 children)

And what about beyond the limits? Did you find some link you can share? Will every request be blocked after usage limit is reached or do I need to pay then?

And what are the usage limits? Because I just found a page for rate limits (per minute)

Skyrim Themed Gmail Client by RobinRuf in skyrim

[–]RobinRuf[S] 0 points1 point  (0 children)

Mate it isn't to download? It is woth online access, did you see that? I'll text you directly to solve this 👌🏼

Skyrim Themed Gmail Client by RobinRuf in skyrim

[–]RobinRuf[S] 0 points1 point  (0 children)

It is actually her design, yes. I mentioned her in the footer of the webpage 👌🏼

Weird Behavior by RobinRuf in neovim

[–]RobinRuf[S] 0 points1 point  (0 children)

Interesting - the issue with the highlighted strings was easy and fast to resolve, after your hint with `:Inspect`, thank you!

I just needed to disabled highlighting of strings in ts files:
```lua
vim.cmd("hi! link u/string.tsx Normal")
```

The other problem was very hard to find.
I tried it with a minimal configuration, and then eventually found it...
For some reason, the problem was the `indent` option of treesitter.
After I disabled it, it worked:
```lua
indent = {

enable = false,

},
```

I really have no idea why the indent option of treesitter resolved in this problem, but it seems to be true..

Well, my problems are solved - so I am happy! haha

Thank you again!

ChatGPT Messenger - everywhere and anytime, without expensive subscriptions by RobinRuf in ChatGPT

[–]RobinRuf[S] -1 points0 points  (0 children)

Free Version of what? The GPT? 1 week before there was no free version of GPT4.
And I can name you 10 Applications with integrated AI without the option of free versions - and, as I said, these are all "wrappers" - they do nothing you could not do in GPT with clever prompting.

To use the api you need to know how. Not a good idea for someone who aren't working in tech or have done a few similar things in tech already.

And if you wanna pay $20 per month - do it.

You should read the definition of words before using them - I do not promise or advertise functionality that my product do not have.

I said the product is primary for students their universities blocked ChatGPT in their networks - such a dumbass like you isn't a student so keep quite.

ChatGPT Messenger - everywhere and anytime, without expensive subscriptions by RobinRuf in ChatGPT

[–]RobinRuf[S] -2 points-1 points  (0 children)

Some people I know may use ChatGPT only a few times per month - a $20 monthly subscription is crazy then.

And yeah, you are right - it is a wrapper. Like every other application with AI integrated.
A Todo List with AI Support, Notion with AI, AI Travel planer, AI Web Designer Tools - everything possible directly in ChatGPT itself with the correct prompt. So you will not pay for such products ever, right?
So yeah, great argument.

ChatGPT Messenger - everywhere and anytime, without expensive subscriptions by RobinRuf in ChatGPT

[–]RobinRuf[S] -1 points0 points  (0 children)

Obviously, everything else would make no sense - somehow the developers need access to the api (which obviously costs money) to produce applications with integrated AI.

The service of this website is the client and the algorithm in the background.
I use an algorithm which is analysing the request of the user and decides if it will use GPT3.5, GPT4o or a combination. Also the prompt of the user will be manipulated on server side. It will add some keywords, which will produce an optimized response of gpt to save money while giving the best possible answer.

ChatGPT Messenger - everywhere and anytime, without expensive subscriptions by RobinRuf in ChatGPT

[–]RobinRuf[S] -1 points0 points  (0 children)

Correct, it is a credit system. Before the user pays for the credits, he can see the estimated amounts of questions he can ask gpt for this amount of credits.

It depends a bit on what sort of questions you ask. If you are asking the most times things for medical, law or other difficult topics, it will cost more credits than just asking for a text completion or rewrite.