-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Chat about ideas #2
Comments
Hi, thanks for showing interest in my project! I haven't really had the propper time to work on this plugin for quite some time, but I am open for Ideas! If you have any suggestions I'll be glad to listen! I guess that if we go into that direction, we can also rename the pluggin from |
Oh, and another thing - I'll create a development branch, where we can test PRs before we merge them to master :) |
Yeah the plugin name change would make sense since you it is not limited to dap. Dap is just of course very important for projects and benefits from this plugin. Development branch sounds fine! |
Fine, I'll change the name then! |
Hi @kndndrj , I have the new version and have updated my fork with the new name. I thought of another thing to ask you about. Though of course it comes with pros and cons and json is already working. |
Hey, sorry for the really late reply. To answer your last question... Sorucing lua files is not the way to go in my opinion. it seems a bit unsafe to Source a random lua file on vim's startup. and I also think it's a bit overkill for this plugin. One thing that I have given some thought though is to also accept yaml files. But the main problem here is that lua supplied by neovim does support json out of the box, but it doesn't support yaml. |
Okay then it seems like json is still the best bet. I think it would be good to address the error messages that get thrown when a json format error occurs. Btw, are we allowed to put comments into the json file? |
Yeah, the error handling leaves much to be desired, I agree. If you have some time, you can go through the code and check it. Comments are permitted in json, yeah. |
By the way, I'm trying to rework the plugin a little. Make it more user friendly and simplify the codebase. Once it's done, I'd be glad to have some help with testing! |
Awesome that sounds good! I've found a bigger and bigger need for this plugin and would love to help keep working on it. Here are some additional features I've been thinking about:
Next some other code items I'd like to add would be:
|
Oh man, that's AWESOME!! However, as I mentioned, I have been working on a rework for some time now and am really excited to share it once some rough edges are polished. To give you a glimpse: I made the plugin basically modular, which means that I basically provide the core and then other people (and me) can write:
But with this model I got some very nice stuff working! For example toggling dapui and projectors terminal with the same keymap. Another thing: I'm thinking about ditching telescope and using builtin selector (vim.ui.select()), as telescope can easily be added via something like dressing.nvim (I haven't decided yet, but current telescope implementation is a bit messy and I dont like it that much) last thing: alongside stylua and tests, I will also add docstrings. So, please wait just a bit more, so I push the changes to github before putting too much work into this project :) Thanks for the suggestions btw, really appretiate it! |
@kndndrj , I am excited for the updates! I am especially excited for the loader feature! I have never heard of dressing.nvim yet. I have been using this telescope extension which is actually listed as inspiration by dressing. Take as much time as you need for the updates. I'll be ready to help when you're done! |
@derekthecool You can check the refactor branch now! Let me know what you think. |
Amazing!! 😄 I'll start using this right away. I'll share feedback soon after I've had more time to work with it. |
Hi kndndrj. I've had such a busy couple of days. But I wanted to just say that I have been using it and it is amazing! I'm still testing the new features. Great job an the refactor, this is so cool! |
Okay, I've found some time today to review more. Let me share my thoughts of the things I love and some of the issues I've found. First things that I love:
And items I've found issues with so far:
I have the builtin loader like this: loaders = {
{
module = 'builtin',
opt = vim.fn.getcwd() .. OS.separator .. 'projector.json',
}, Command I used to open neovim
Debugging log message that I used to find this issue in local path = opt or (vim.fn.getcwd() .. "/.vim/projector.json")
if not vim.loop.fs_stat(path) then
vim.notify('Error file is not found', vim.log.levels.ERROR, { title = 'nvim-projector' })
vim.notify(path, vim.log.levels.ERROR, { title = 'nvim-projector' })
return
end Notification log show this:
This would seem to be caused by calculating the cwd right when neovim is opened. This is not a bug or a bad feature, it is simply different from what I'd expect. Also, it is different from how it was handled in the plugin prior to refactor.
None of these issues are really that important in my opinion. If I were to make any changes for either of them what would be the best way:
|
Thanks for looking into this! I replied to you there :D |
I see you merged to master! Woo-hoo! Should we close this ticket or keep it open to keep planning? |
@derekthecool I guess we can keep it open for a while, to use it as a sort of mailing list :) |
@derekthecool Hey, if you are still interested in this plugin, I revisited it recently - check #9 if you wanna know more. |
This is an amazing project you've created!
It totally was something I've been looking for with my new dap setup. I've created a small pull request #1
I also wanted to chat about some ideas for development.
One thing I would like to help work on getting telescope to show some of the args for each of the configs.
What are there any other ideas you have?
The text was updated successfully, but these errors were encountered: