I’ve struggled, repeatedly, with this same problem, but with Visual Studio Code, and its plugin-like incorporation into Unity on a Mac. Sometimes it would, sometimes it wouldn’t, sometimes it’d seem to corrupt, and require the entire setup within the project be redone. Also in 2018.1, but in the betas, Since then I’ve been using Si3 and Rider instead. Rider sometimes loses its connection with Unity, but other than that is fine.
Hey @Bradamante , thanks for sharing your Bluevion color scheme! This is how it looks like in Si3:
Is this how it looks like in MD? I may have messed something up while copying color values, but to be honest, I’m not sure I can work with this color scheme. Or maybe, I’m just not used to it
The script is attached, if you want to try it or tweak it… Cheers!
3506816–279816–Bluevion.unitypackage (1.54 KB)
Hmm, this looks like it will be another busy weekend for me (sorry, but I can’t do anything in workdays this week). Thanks for reporting the issues!
Close enough.
Don’t make this a high priority on my account; I didn’t give you much to go on here. If I can get better replication steps I’ll post them.
I tried following the [instructions]( Script Inspector 3 page-28#post-2886960) linked to earlier, but no dice. The code editor doesn’t look like my Bluevion theme at all. Sometimes tinkering around in FGTextEditor the visuals do change, but not to what I want. I am also not sure if the Fira font is being used. It doesn’t help that all this
[MenuItem("CONTEXT/MonoScript/Xcode Theme", false, 167)]
private static void SetCodeStyleXcode() { SelectTheme(1, false); }
[MenuItem("CONTEXT/MonoScript/Bluevion Theme", false, 168)]
private static void SetCodeStyleBluevion() {
SelectTheme (15, false);
}
is not very intuitive. What the hell are these indexes and priorities?
Why is there no documentation for this? Not on the Flipbook website, not in the ReadMe file of the asset itself? Even if I would not want to use my own font or theme, even if I did not tinker with the code, I would not know how to change the fonts or theme?!
Wrong. Cmd-Y does not work. On macOS. Instead it creates a new line where the cursor is, like hitting Enter. F12 works, yes, if you use the F keys as standard function keys, which is not the default of macOS. The default for F12 on macOS is to make the volume louder. I kinda need this.
How much time have you spent using other code editors and around coders?
Hello,
Just reporting some issues I’m having using SI3 with newer versions of Unity.
So, I’ve been playing with Unity 2018.2.0b1 for a couple of days and using SI3.
Everything was working perfectly.
But, since after I updated the new Unity Hub today I’m having a lot of issues.
The main issue is that most of the SI3 shortcuts stopped working (ctrl+s, ctrl+z, etc). They are all redirected to Unity now, even when the Si3 tabs are focused. So there is no way to even save the scripts I’m writing.
Already tried to reimport the plugin, restart Unity and create a fresh project with only SI3 with no luck.
Any clues to what might be happening? May the Unity Hub have broken something?
I’ll try to investigate a bit more what is happening and what may be causing the issue.
Really liked the last refatoration changes, good work.
Looking forward to the renaming feature.
====
Another unrelated issue is that the shortcut to comment lines (ctrl+k) is conflicting with the shortcut from ProBuilder to create a new cube. I couldn’t find a way to change the keys in either plugin.
If memory serves my first code editor was BBEdit Lite, but my first “real” editor was Metrowerks CodeWarrior for Mac OS 8(?) in 2001. Around other coders? Well reading other people’s code was always a thing, but literally sitting in an office next to other coders? Since 2012.
Cool. Great. In those years, I imagine you’ve learnt much about the personalities, motivations, inspiration and interpersonal relationships of coders.
Have you tried Sublime or VSCode?
Which of these do you enjoy most?
FWIW, I use a Macbook Pro as one of my machines for Unity, and I have found that in general almost any developer activity on a Mac goes better if you make the function keys work like function keys. In a code editor you’ll spend a lot more time doing search and replace than you will controlling your audio playback.
My memory may be foggy here, but if I recall @Flipbookee doesn’t personally own a Mac due to cost, and so Mac support has to be done at one level removed. I’ve reported Mac keyboard issues for SI3 previously and always received great tech support on getting them fixed. It takes a little more active involvement from the user reporting the bug if the developer doesn’t own the target hardware, and very few people can afford to own one of everything.
I think I have yes. Not sure what you are trying to say?
I have not yet worked with these editors. Currently I shy away from VSCode since it is based on Electron and I don’t like the idea of supporting the trend of non native Mac apps emulating a native Mac feel or generally speaking the trend of JS on the desktop. And of course we heard multiple reports recently about security issues of this tech.
I have heard good things about Sublime of course, but to my knowledge Sublime does not integrate well with Unity (debugging, jump to error lines from Unity etc).
Not sure why this is relevant, I like the idea of a code editor within Unity, hence I am trying to get SI3 to work. Yet I see no online documentation, readme file or code comments explaining how to integrate custom fonts or color schemes, or even how to switch the built-in ones.
When I started with SI3, I invested some time in going through all menus and testing the effect of the settings (changing built-in fonts is in a menu)
The thing is like other tools, there will be a few things, you wish were different- the good thing, if you invest a little time you can customize the source (will take some time).
Nowadays, I just use the original version because it is quite good (in particular after getting used to it)
Because it is integrated with Unity, the shortcut thing is at times a bit frustrating- but I think SI3 does what is possible and this point goes back to Unity / maybe they could have something better for shortcut compatibility.
Overall, my advice is to get used to SI3, accepting that some things are not exactly as you want, it’s just a transition phase and you will get used to it quite quickly- and maybe do a hack for 1-2 must haves
I don’t know what happened, but now the shortcuts are working again.
Everything is fine!
@Bradamante , excuse me, I wasn’t around these last few days to explain… Right, there’s no documentation to show how to select the built-in color themes and fonts. I thought that would be too obvious to be explained - the gear button in the top right corner contains a dropdown menu with those options, so I thought that would be one of the first things a new user will discover
Adding custom fonts or color themes was never a feature of Si3 that I have mentioned or advertised, even though users can still do that with a small effort. In fact, Unity’s font rendering for long time wasn’t as good as it is now, so back in the days I spent a lot of time to find some nice looking fonts that actually worked nicely in the Editor.
I hope that makes sense and I see the need for making this more user friendly now that the range of supported fonts in Unity has increased dramatically. I’ll take care of that and until then you are free to use the existing options or even extend them with a little bit of efforts. Of course, I or someone else in this thread will be always here to help with that! (thanks guys, you’re amazing! :))
I understand your philosophical and ethical reasoning. And agree. VSCode irks me, Rider does, too, because it’s not nearly as quick as it could be if they made it with Swift/Objective-C with their other app, AppCode. I love writing in Sublime, huge swathes of text, in 8 layups. For this, it can’t be beat. For coding fast and light, I don’t mind the missing Unity stuff. I fix my mistakes in Si3 and then Rider tells me all about my stylistic “mistakes”.
Point of it all: programmers don’t make visual tools. VSCode and Sublime (and Rider) use XML-like files to edit all their settings. In this sense, Si3 is no different. I agree, GUI for everything is best. But it’s not how coders think, work or imagine. And it’s for the best, because coders doing GUI and UX is… funky. At best. They have different sensibilities and remember things like numbers for colours. I don’t.
Well, great then! I don’t know what happened either, but I’ll try that with the Hub and check are there any issues related to that… Just tell me, on what OS was that?
Yes, I know and I tried to do something to prevent that bug in ProBuilder (even though it shouldn’t be my job to fix their bugs) but so far I didn’t find a way to do that in a nice way because they’ve put that command handler in a DLL, unlike all other commands. I already complained to Unity about that (with no effect so gar) but I’ll investigate other ways to prevent them from stealing keyboard shortcuts like that… Till then, please use the alternative shortcut for toggling comments in Si3 - Ctrl+/
Yay! Tuto Unity FR made a video review of Si3
It’s in French, so I only understood les than half of it but still it’s a great birthday present - Si3 turned 6… yesterday
Hello @Flipbookee ,
I can’t type Chinese characters in the SI3.
Can you support it?