Rider for Unity
Unity Operating System (also known as Unified Operating System or UOS, Chinese: 统一操作系统) is a Chinese Linux distribution developed by UnionTech (Chinese: 统信软件) based on Deepin and used in the People's Republic of China as part of a government initiative beginning in 2019 to replace foreign-made software such as Microsoft Windows operating systems with domestic products. Unity Operating SystemまたはUnified Operating System (通称: UOS、中国語: 统一操作系统) は、UnionTech (中国語: 统信软件) によって開発中.
Using Rider to write C# makes me happy. I have never seen code refactoring tools that actually work - always without exception. It's amazing when you can rely on it.
Joachim Ante,
Unity CTO & Founder
Powerful cross-platform C# Editor
JetBrains Rider is a fast and powerful C# editor for Unity that runs on Windows, Mac, and Linux. With the unbeatable 2500+ smart code inspections and refactorings, Rider enhances your C# experience, letting you write error-proof code much faster.
Easy start with Unity
Rider has Unity support built in, and the very first time you open a Unity solution it will automatically configure Unity to use Rider as the default editor for C# scripts and shader files. Once done, double-clicking a C# script or shader asset will open the solution in Rider.
Control Unity editor
Thanks to the integrated two-way communication, you can switch into and out of Play mode, and pause and step a single frame without ever leaving Rider! The toolbar includes game view buttons Play, Pause, and Step, which correspond to the same buttons in Unity Editor and control the same behavior as Unity Editor does. A small Unity icon in the status bar will indicate whether Unity Editor is connected, refreshing, or in Play mode. Any changes applied in Rider in Edit mode will be instantly delivered to Unity Editor.
Coding hints
Rider provides top-notch code analysis for C#, and that includes Unity-specific code inspections and quick-fixes for them.
For example, Rider will warn you against using inefficient string literal comparison with the tag
property, and will provide a quick-fix to rewrite this as a call to CompareTag
.
Similarly, Rider will warn you if you try to use the new
keyword to create a new instance of a class deriving from MonoBehaviour
or ScriptableObject
. Just press AltEnter to have Rider fix the problem for you.
Debug Unity with ease
Rider makes it very easy to debug your C# scripts as they run in the Unity editor. Everything is already configured, and you just need to hit the Debug toolbar button, menu item or keyboard shortcut to attach the debugger to the running Unity editor. You can set breakpoints in the editor, step through your code, look at locals and watch values, and evaluate expressions.
With Rider, you can even debug the code that you don't have debugging information for. Rider automatically decompiles external libraries on-the-fly, allowing you to debug the decompiled code, step into functions, set breakpoints, view and set locals and variables.
Run Unity tests
Rider allows you to run tests that interact with Unity's API, and which can step through single frames, all from within Rider. And of course, you can explore the results of your Unity-specific tests, just like you would normal tests – you can filter by result, and click on stack traces to navigate your code.
Unity console logs
The Unity Logs tool window with hyperlinked stack traces lets you explore the same events that are logged in the Unity editor console. It allows filtering by category (error, warning, or message), hides events based on when they were logged (in Play or Edit mode), and lets you easily navigate to any source file, class, method, or property mentioned in the log entry. Unity Logs cleans its output automatically after every switch to Play mode.
Performance highlightings
Rider helps you write better-performing Unity C# code. To do this, it highlights expensive Unity APIs inside methods that get called every frame, like Update and coroutines. Rider even highlights calls to methods that indirectly use expensive Unity APIs!
Besides that, Rider has many Unity-specific performance inspections and appropriate quick-fixes. It is aware of code patterns that are poor performance and can suggest automatic fixes for them, such as using a different API or overload, or caching values.
Find Usages inside Unity files
Find Usages now includes Unity scenes, assets, and prefabs. If you search for a class or method used as an event handler, Rider shows where it's used in your Unity files, grouped by type, component name, and parent game objects. Even better, double-clicking the item highlights the usage directly in the Unity Editor.
Pulling this information from Unity files also means that Rider highlights event handler methods as being implicitly used. The implicit usage highlights are turned into Code Vision links, so you can see at a glance what classes, methods, and fields are implicitly used by Unity. And clicking the link will find those usages, even inside Unity files.
Shader support
Rider also adds support for .shader files, with syntax highlighting, code folding, brace matching and more. Syntax errors in the ShaderLab sections are highlighted, todo comments are pulled into the To Do Explorer and color properties are highlighted, with a color picker for editing. Simple word completion is available throughout the file, including in Cg/HLSL blocks.
Explore Unity docs
Rider displays external documentation for Unity symbols. You can either click the icon from the Quick Documentation pop-up (CtrlShiftF1 if using the Visual Studio keymap) or use the View External Documentation action (ShiftF1) directly, to navigate to locally installed documentation, or to Unity's hosted docs if they are not available locally.
See how the Unity support in JetBrains Rider compares to Visual Studio and Visual Studio for Mac.
IDE for Unity development
Free 30-day trial
Features
Code analysis and quick-fixes
Rider boasts 2500+ live code inspections, with over 1000 automated quick-fixes to resolve detected issues individually or in bulk. Solution-wide error analysis will monitor code issues and let you know if anything goes wrong, even in files that are not currently open.
Performance highlightings
Rider helps you write better-performing Unity C# code. To do this, it highlights expensive Unity APIs inside methods that get called every frame, like Update and coroutines. Rider even highlights calls to methods that indirectly use expensive Unity APIs!
Besides that, Rider has many Unity-specific performance inspections and appropriate quick-fixes. It is aware of code patterns that are poor performance and can suggest automatic fixes for them, such as using a different API or overload, or caching values.
Find Usages inside Unity files
Find Usages now includes Unity scenes, assets, and prefabs. If you search for a class or method used as an event handler, Rider shows where it's used in your Unity files, grouped by type, component name, and parent game objects. Even better, double-clicking the item highlights the usage directly in the Unity Editor.
Pulling this information from Unity files also means that Rider highlights event handler methods as being implicitly used. The implicit usage highlights are turned into Code Vision links, so you can see at a glance what classes, methods, and fields are implicitly used by Unity. And clicking the link will find those usages, even inside Unity files.
Shader support
Rider also adds support for .shader files, with syntax highlighting, code folding, brace matching and more. Syntax errors in the ShaderLab sections are highlighted, todo comments are pulled into the To Do Explorer and color properties are highlighted, with a color picker for editing. Simple word completion is available throughout the file, including in Cg/HLSL blocks.
Explore Unity docs
Rider displays external documentation for Unity symbols. You can either click the icon from the Quick Documentation pop-up (CtrlShiftF1 if using the Visual Studio keymap) or use the View External Documentation action (ShiftF1) directly, to navigate to locally installed documentation, or to Unity's hosted docs if they are not available locally.
See how the Unity support in JetBrains Rider compares to Visual Studio and Visual Studio for Mac.
IDE for Unity development
Free 30-day trial
Features
Code analysis and quick-fixes
Rider boasts 2500+ live code inspections, with over 1000 automated quick-fixes to resolve detected issues individually or in bulk. Solution-wide error analysis will monitor code issues and let you know if anything goes wrong, even in files that are not currently open.
Code navigation
You can jump to any file, type, or member in your code base in no time, as well as find settings and actions. Find usages of any symbol, or navigate from a symbol to base and derived symbols, extension methods or implementations.
Refactorings
Rider provides 50+ global automated refactorings, as well as 450+ smaller context actions for local code transformations. Rename, extract methods, interfaces and classes, move and copy types, use alternative syntax, and a lot more!.
And more
There's unit testing support, code cleanup, integrated version control, local history to save your code between commits, NuGet support, database tooling and more. Rider can be easily extended with plugins, from Markdown support to VIM keyboard bindings.
Customers
Far and away the best Unity IDE for the Mac. Unparalleled debugging and refactoring capabilities.
— Erin Keenan, Engineer, N3twork mobile games company
Join these companies that already use Rider to develop Unity games.
Having the right tool for the job is essential to compete in any market, games especially. At Yakuto each dev has a JetBrains Toolbox subscription, which we've found invaluable for productivity. We work mostly in C# on Macs. This used to mean a VM running ReSharper but with Rider, we're native to one OS, which is awesome. Unity debugging is now seamless and the extensions add vital Unity-aware context. As a veteran of ReSharper, I feel completely at home in Rider: refactoring, solution-wide analysis, test runners, it's all there. We couldn't consider C# development without Rider.
— James Gratton, CTO, Yakuto
UOSのスクリーンショット | |
開発者 | UnionTech |
---|---|
OSの系統 | Linux |
初版 | 2020年1月14日(15か月前) |
対象市場 | |
プラットフォーム | x86-64 |
カーネル種別 | モノリシックカーネル |
ウェブサイト | www.chinauos.com |
テンプレートを表示 |
Unity Operating SystemまたはUnified Operating System[1] (通称: UOS、中国語: 统一操作系统) は、UnionTech (中国語: 统信软件) によって開発中のLinuxディストリビューションである。Deepinをベースとしており[2]、中華人民共和国から最終的にWindowsを置き換えるように委託されて開発されている[3]。
開発[編集]
現在3つのバージョンが開発中であり、一般ユーザー向けのDeepin、商用向けのUOS、サーバー向けのUOSがある[4]。最初のベータ版は2019年12月に公開され[5][6]、 最初の安定版が2020年1月14日に公開された[2][7]。
サポート[編集]
x86-64をサポートしているほか、UOSは主に中国市場向けに開発されており、中国市場において2022年までにWindowsの代替になることを目的としている[8][9]。その為、中国の半導体企業の兆芯によって開発されたKX-6000シリーズ、KX-30000シリーズをサポートしている[1]。 Connect visual studio to github.
また、それ以外にも幅広いサポートが計画されていて、龍芯や神威、ARMもサポートする計画となっている[10]。
脚注[編集]
- ^ abKöpf, Alexander (2019年12月27日). 'Chinas Windows-Ersatz: CPUs laufen auf chinesischem Betriebssystem' (ドイツ語). GameStar. 2020年1月4日閲覧。
- ^ abcnTech (2020年1月15日). 'Explained: What's the difference between UOS and Deepin OS?' (英語). cnTechPost. 2020年1月18日閲覧。
- ^Liu, Zhiye (2019年12月24日). 'Chinese CPUs Now Work On Domestically-Produced Operating System' (英語). Tom's Hardware. 2020年1月4日閲覧。
- ^'China-made UOS completes adaptation for domestic cloud desktop provider' (英語). cntechpost.com (2019年12月19日). 2020年1月4日閲覧。
- ^'China-made operating system UOS releases first version' (英語). cntechpost.com (2019年12月13日). 2020年1月4日閲覧。
- ^'China software designers ready UOS for end-of-2019 release' (英語). DigiTimes (2019年11月22日). 2020年1月4日閲覧。
- ^'UOS 20 正式版面向合作伙伴发布' (中国語). www.chinauos.com (2020年1月14日). 2020年1月18日閲覧。
- ^Petzold, Sara (2019年12月13日). 'Intel, AMD & Co: China will westliche Hard- und Software aussortieren' (ドイツ語). GameStar. 2020年1月4日閲覧。
- ^Kohlick, Robert (2019年12月17日). 'Konkurrenz für Intel und AMD? China-Prozessoren versprechen großen Leistungssprung' (ドイツ語). GIGA.de. 2020年1月4日閲覧。
- ^Kohlick, Robert (2020年1月2日). 'Windows-Alternative aus China: Neues Betriebssystem soll Microsofts OS ersetzen' (ドイツ語). GIGA.de. 2020年1月4日閲覧。
外部リンク[編集]
- 公式ウェブサイト(中国語)
- UnionTech(中国語)
|