Skip to content

Instantly share code, notes, and snippets.

View angularsen's full-sized avatar

Andreas Gullberg Larsen angularsen

View GitHub Profile
@angularsen
angularsen / AsmdefDebug.cs
Last active November 16, 2023 13:24 — forked from karljj1/Unity Assembly Definition Debugger.cs
Find out what assemblies are being built and how long each takes. Updated to only build for Editor, and to include total time in first line of log output.
#if UNITY_EDITOR
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Text;
using UnityEditor;
using UnityEditor.Compilation;
using UnityEngine;
/// <summary>
@angularsen
angularsen / TypeMemberLayout.xaml
Last active October 18, 2024 07:25 — forked from collinbarrett/TypeMemberLayout.xaml
Rider/ReSharper File Layout for StyleCop.Analyzers with alphabetical order
<?xml version="1.0" encoding="utf-16"?>
<!--
Inspired by: https://collinmbarrett.com/stylecop-ordering-resharper/
Source: https://gist.github.com/angularsen/98bfab4d5e887ab37143214fad1fadbd
Modifications:
- Sort by Name after all other sorting criteria
-->
<Patterns xmlns="urn:schemas-jetbrains-com:member-reordering-patterns">
<TypePattern DisplayName="StyleCop Classes, Interfaces, &amp; Structs" RemoveRegions="All">
<TypePattern.Match>