Uploaded image for project: 'Appcelerator Studio'
  1. Appcelerator Studio
  2. TISTUD-4906

Code Analyzer: Warning or Error icons are not displayed in code gutter

    Details

      Description

      Problem description

      After running the Code Processor, results Warnings or Errors are not correctly displayed as Icons next to the code in the Project Files, as described here: https://wiki.appcelerator.org/display/tis/Code+Analyzer#CodeAnalyzer-InterpretingtheResultsintheProjectFiles

      Steps to reproduce
      • Create a project using a code that should generate errors or warnings (see the sample app here - in this case I'm using an iPad specific API)

      var win = Ti.UI.createWindow({
      	backgroundColor:'gray',
      	title:'test'
      });
       
      var label = Ti.UI.createLabel({
      	text:'test',
      	font:{
      		fontSize:'24dp'
      	}
      });
       
      var ipadPopover = Ti.UI.iPad.createPopover();
       
       
      win.add(label);
      win.add(ipadPopover);
       
      win.open();
      

      • Run the Code Analyzer; in our case run the Code Analyzer for Android, since the sample is using a specific platform API and it should fail if run on Android.

      Results: in the html Results report, Warnings are correctly displayed. However, there should be displayed too a Warning icon and hovering on the warning icon, a message saying why this code is not supported should be displayed.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                pinnamuri Praveen Innamuri (Inactive)
                Reporter:
                fcasali Federico Casali
              • Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: