HN user

olidb

22 karma
Posts2
Comments5
View on HN

I would really love to see the state of the fn key on the screen, preferably in the task bar. Maybe that would reduce the times I accidently change the volume and brightness.

I still see myself as a developer. A developer creates things, writing code is just one part of that. Yes, AI is now part of it, but it’s still just a useful skill. And yes, some poor developers can easily be replaced by AI, but that's not the norm.

You can add dependencies, it's just important, that you also add the dependencies to the project where the source generator is used:

SourceGenerator.csproj:

  <ProjectReference Include="..\Dependency.csproj" />
FinalProject.csproj:
  <ProjectReference Include="..\Dependency.csproj" OutputItemType="Analyzer" ReferenceOutputAssembly="false" />
  <ProjectReference Include="..\SourceGenerator.csproj" OutputItemType="Analyzer" ReferenceOutputAssembly="false" />
And I also recommend to add "<LangVersion>latest</LangVersion>" to SourceGenerator.csproj to use new features like raw string literals.