sisl icon indicating copy to clipboard operation
sisl copied to clipboard

Streamlining spin/index arguments on `read_grid` methods

Open zerothi opened this issue 10 months ago • 0 comments

          > > 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 keywords index/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

zerothi avatar Apr 22 '24 18:04 zerothi

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?

heathflohre avatar Dec 10 '20 20:12 heathflohre

It would be great if it highlighted the line.

heathflohre avatar Dec 10 '20 20:12 heathflohre

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].

jasonplatts avatar Dec 10 '20 20:12 jasonplatts

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.

jasonplatts avatar Dec 10 '20 20:12 jasonplatts

Hi, this code not work for CSS in Nova 4.3? /* TODO: hhjjhjh */

HazleMike avatar Feb 12 '21 09:02 HazleMike

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!

HazleMike avatar Feb 12 '21 09:02 HazleMike

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.

jasonplatts avatar Feb 12 '21 22:02 jasonplatts