The script extension name is not the filename. For example, I have a script extension in my repostiry where the filename is DDTLibrary.tcx. However, the object as it is rendered in TestComplete is DDTLib. Why?
This comes from the Description.XML file.
<ScriptExtensionGroup Name="Data Driven Helpers">
<Category Name="Data Driven Helpers">
<ScriptExtension Name="Data Driven Helpers" Author="Robert Martin" Version="1.0">
<Script Name="DDTLibrary.js">
<RuntimeObject Name="DDTLib">
<Method Name="CloseDriver" Routine="CloseDriver">Closes the DDT driver specified by the name</Method>
<Description>Provides helper methods for working with DDT objects</Description>
</RuntimeObject>
</Script>
<Description>Provides helper methods for working with DDT objects</Description>
</ScriptExtension>
</Category>
</ScriptExtensionGroup>
Note the "RuntimeObject Name= " portion. That Name value is what shows up in Intellisence and so on as the object within TestComplete.
So... your problem is probably due to something wrong with your XML file. If you'd care to share your XML file and the script code file that goes along with it, someone here should be able to help you debug it.