sisl
sisl copied to clipboard
Streamlining spin/index arguments on `read_grid` methods
> > It seems to me that line 35 is then wrong, no?
Oh, I see. Yes, indeed
index=1
would give the spin density and not the down-component as currently stated. By the way, why two keywordsindex/spin
for the same thing? Wouldn't it not be better to have just one?
Yes, currently this is a left-over from the siesta
output.
A think we could investigate is whether index
should be used for explicit retrieval (no manipulation), and spin="x"
could be used for explicit spin-configuration extraction, or spin=Spin.X
.
Probably that should also be stream-lined.
Originally posted by @zerothi in https://github.com/zerothi/sisl/issues/754#issuecomment-2069320431
After restarting, the comments/notes are showing in the sidebar. Are they supposed to jump to the comment/note of the file when you click on them?
It would be great if it highlighted the line.
Hi @heathflohre. The extension will detect tags, when they are capitalized and ending with a colon. Alternatively, you can enclose the capitalized tag in square brackets.
Eg: "TODO:" or [TODO].
If you double click on the tag item in the sidebar, it will open the related file and scroll to its position. In a future update, it will set the cursor position and highlight the line. This is not currently possible with the API Nova makes available.
Thanks for the suggestions. Hope this helps.
Hi, this code not work for CSS in Nova 4.3? /* TODO: hhjjhjh */
Ah sorry. Now I've read that the extension can only work with local files. That's why it didn't work. It would be very nice if the extension worked remotely too!
Ah sorry. Now I've read that the extension can only work with local files. That's why it didn't work. It would be very nice if the extension worked remotely too!
No problem @HazleMike. Thanks for letting me know this feature would be helpful.