GitHub Copilot
Posted: Tue Aug 06, 2024 10:40 am
We are testing the use of GitHub Copilot for X# in Visual Studio.
The Copilot makes suggestions in the editor when inserting new lines.
Most often the suggested code isn't very useable after one week that the copilot has watched me writing code. But at least it is normally respecting the X# syntax as I am writing code. Sometimes there are really astonishing results. For example I rewrote some test code for loading the code dynamically after having tested with fix references
I inserted the statement
var oassembly := System.Reflection.Assembly.LoadFrom("C:\daten\CRUFLBarCodeWizFonts.DataMatrix.dll")
The copilot suggested then as the next line:
type tobject := oassembly:CreateInstance("CRUFLDataMatrix.BCWDataMatrix")
This is a construction that did not exist in my code and it was already very near to what finally worked:
var obarcode := oassembly:CreateInstance("CRUFLDataMatrix.BCWDataMatrix")
Although I am a bit doubtful about the effectiveness, I am curious what will happen during the next months.
Arne
The Copilot makes suggestions in the editor when inserting new lines.
Most often the suggested code isn't very useable after one week that the copilot has watched me writing code. But at least it is normally respecting the X# syntax as I am writing code. Sometimes there are really astonishing results. For example I rewrote some test code for loading the code dynamically after having tested with fix references
I inserted the statement
var oassembly := System.Reflection.Assembly.LoadFrom("C:\daten\CRUFLBarCodeWizFonts.DataMatrix.dll")
The copilot suggested then as the next line:
type tobject := oassembly:CreateInstance("CRUFLDataMatrix.BCWDataMatrix")
This is a construction that did not exist in my code and it was already very near to what finally worked:
var obarcode := oassembly:CreateInstance("CRUFLDataMatrix.BCWDataMatrix")
Although I am a bit doubtful about the effectiveness, I am curious what will happen during the next months.
Arne