Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Methods after properties sometimes get formatted with mistakes #226

Open
gustason opened this issue Sep 25, 2024 · 2 comments
Open

Methods after properties sometimes get formatted with mistakes #226

gustason opened this issue Sep 25, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@gustason
Copy link
Collaborator

For example,

class OpenEdge.DataAdmin.Core.JSONWriter inherits DataAdminWriter implements IDataAdminExporter:  
    define public property Formatted as logical no-undo 
    init true
    get.
    set. 
    
	constructor public JSONWriter (  ):
		super ().
    end constructor.
      
    method public void WriteToFile(serializable as IDataAdminSerializable,pcFile as char,pccollection as char):
    end method.
      
end class.

gets formatted as this:

class OpenEdge.DataAdmin.Core.JSONWriter inherits DataAdminWriter implements IDataAdminExporter:
    define public property Formatted as logical no-undo init true
        get.
        set. 
        
     constructor public JSONWriter (  ):
    super ().
end constructor.
     
   method public void WriteToFile(serializable as IDataAdminSerializable,pcFile as char,pccollection as char):
    end method.
      
end class.
@gustason gustason added the bug Something isn't working label Sep 25, 2024
@gustason
Copy link
Collaborator Author

Probably related to #209

@PauliusJaskutelis
Copy link
Collaborator

Look a bit different with current default settings, but believe the issue is still there. With the example from above:

class OpenEdge.DataAdmin.Core.JSONWriter inherits DataAdminWriter implements IDataAdminExporter:  
    define public property Formatted as logical no-undo 
    init true
    get.
    set. 
    
	constructor public JSONWriter (  ):
		super ().
    end constructor.
      
    method public void WriteToFile(serializable as IDataAdminSerializable,pcFile as char,pccollection as char):
    end method.
      
end class.

Result is this:

class OpenEdge.DataAdmin.Core.JSONWriter inherits DataAdminWriter implements IDataAdminExporter:
    define public property Formatted as logical no-undo init true
        get.
        set. 
        
     constructor public JSONWriter (  ):
    super ().
end constructor.
     
   method public void WriteToFile(serializable as IDataAdminSerializable,
    pcFile       as char,
    pccollection as char):
end method.

end class.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants