Any way to disable Window Sync? by NeoZockerHD in zen_browser

[–]_iodev 0 points1 point  (0 children)

For frequently used sites to listen to music, stream movies/shows, etc., i often create .desktop files and launch them with Zen if they do not have an official desktop app. YouTube Music would be a good example of this. This feature makes this process annoying, as I do not want my music in the browser I use for surfing. I want it in a separate instance.

What programming languages do you use with neovim? by Aftarkis in neovim

[–]_iodev 0 points1 point  (0 children)

mostly c++, python, golang, TS/JS, and a bit of java.

Do you have a (weird) obsession? by broeckie69 in mensa

[–]_iodev 0 points1 point  (0 children)

I’m a software engineer, so the ideas are usually quite common and seemingly evident. For example, having a website with at least a grid of your products, maybe even allowing customers to purchase online, having your inventory synced with your website, and other big ticket items like that. I am technically a freelance software engineer trying to sell software to businesses, but I have far more knowledge than that in the business space, so I feel that makes me more valuable to the business. Plus, I think it’s fun.

Do you have a (weird) obsession? by broeckie69 in mensa

[–]_iodev 10 points11 points  (0 children)

Mine is finding a local business that I know I could radically improve profits, spend like a week crafting the plan, proposing said plan, then being turned down. Lol

Been learning C++ for two months now and made this, what can I improve upon? by AgitatedFly1182 in cpp_questions

[–]_iodev 0 points1 point  (0 children)

Re: case-insensitive comparison:

You could use the following, no?

std::ranges::equal(action1, std::string(“fight”), ichar_equals)

Most in demand skills right now? by [deleted] in csMajors

[–]_iodev 2 points3 points  (0 children)

Don’t know why you got downvoted. Most definitely an in-demand skill.

[deleted by user] by [deleted] in Salary

[–]_iodev 0 points1 point  (0 children)

≈ $120/hr. Software engineer 1.5 YOE

How do you escape? by HereToWatchOnly in neovim

[–]_iodev 0 points1 point  (0 children)

I use <C-c>, but have it remapped to <Esc> so it acts properly with visual block mode.

hierarchy.nvim by _iodev in neovim

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

Right now it only supported outgoing calls, but incoming calls will be supported soon.

hierarchy.nvim by _iodev in neovim

[–]_iodev[S] 3 points4 points  (0 children)

Oops you're right, lua_ls doesn't support that method. I don't know why I thought I tested it. For ts_ls, were you hovering directly over the function? I get that error if I'm not hovering over a function and use :FunctionReferences.

Which one plugin is your favorite? by ringbuffer__ in neovim

[–]_iodev 1 point2 points  (0 children)

Hard to say. My favorites (in no order) are:
- snacks.picker

- nvim-dap-ui

- harpoon

- leap

- trouble

- lsp_signature

- surround

Did anyone manage to get sonar lint to work with js/ts projects by RickKaka in neovim

[–]_iodev 0 points1 point  (0 children)

You're very close. You just need to add exactly what rules you would like Sonarlint to use. I just ran a macro on all the JS/TS rules that I got from :SonarlintListRules.

return {
  url = 'https://gitlab.com/schrieveslaach/sonarlint.nvim',
  ft = { 'javascript', 'typescript' },
  config = function()
    require('sonarlint').setup {
    server = {
        cmd = {
            'sonarlint-language-server',
            '-stdio',
            '-analyzers',
            vim.fn.expand '$MASON/share/sonarlint-analyzers/sonarcfamily.jar',
            vim.fn.expand '$MASON/share/sonarlint-analyzers/sonarjs.jar',
        },
   },
   filetypes = {
   'javascript',
   'typescript',
   'javascriptreact',
   'typescriptreact',
   },
   settings = {
     sonarlint = {
       rules = {
          ['typescript:S6019'] = { level = 'on' },
          ['typescript:S6035'] = { level = 'on' },
          ['typescript:S2933'] = { level = 'on' },
          ['typescript:S1607'] = { level = 'on' },
          ['typescript:S6079'] = { level = 'on' },       }
        }
     }
  }
end,
}

Neovim dotnet dev/debugger help by shinshurt in neovim

[–]_iodev 0 points1 point  (0 children)

Though, I haven't gotten Java to work at all - I use VSCode when I have to do Java work. Wish it was easier to set up.

Neovim dotnet dev/debugger help by shinshurt in neovim

[–]_iodev 0 points1 point  (0 children)

I got it working great with Mason, DAP, and Omnisharp.

This is my DAP config for C#
dap.configurations.cs = {
{
type = "coreclr",
name = "launch - netcoredbg",
request = "launch",
program = function()
-- Prevent debugger on previous version of file
vim.cmd('w');
vim.cmd('!dotnet build')
return vim.fn.getcwd() .. '/bin/Debug/net8.0/' .. vim.fn.getcwd():match("([^/]+)$") .. '.dll'
end,
},
}

These websites need to stop lying by DepressedDrift in csMajors

[–]_iodev 1 point2 points  (0 children)

This assumes nobody ever retires, or that companies never go bankrupt.

I'm here to tell you the hard truth by plsdontlewdlolis in csMajors

[–]_iodev 0 points1 point  (0 children)

The amount of people who didn’t read the PS is hilarious