Блог пользователя LamaSalah

Автор LamaSalah, история, 14 месяцев назад, По-английски
Hello everyone!

Most of us have a problem with long code having all our templates in it, Which makes it quite difficult to understand and trace. So, I decided to create my tool to fix this issue and making this repo : https://github.com/LamaSalah32/addTemplate.

This repo helps you add only the templates or functions that the problem needs in your code during contests in just one line of code, making development much easier and more efficient.

Hope this helps :)

  • Проголосовать: нравится
  • +17
  • Проголосовать: не нравится

»
14 месяцев назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

I don't understand. How does your tool differ from oj-bundle?

It seems to me that it's a worse alternative.

»
14 месяцев назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

That looks pretty cool!

Most editors have snippets in some form, that's probably simpler than creating a custom solution.

The way I have my Neovim set up, I can click a keyboard shortcut and a window appears with a list of all my templates that I can search through. It even shows a preview of the file!

If you're a Neovim user, I believe this plugin implements something like that: https://github.com/LeoRiether/wasp.nvim