Xi presided over a symposium marking the centenary of Hu's birth to discuss the former Communist Party general secretary's achievements.
Stressing Hu's exploratory spirit and insistence on practical solutions, Xi said Hu had devoted his life to the party and people of China.
"It was a life of glory. It was a life of struggle," Xi told participants at the Great Hall of the People, the seat of the legislature in central Beijing.
Many consider the protests the biggest threat to Communist rule since the party seized power in 1949.
More From This Section
Hundreds, possibly thousands, were believed killed in the military action, although the government has rejected calls for an independent inquiry.
In the years since, China has pressed ahead with capitalist-style economic reforms while squelching calls for changes to the authoritarian one-party political system.
Scrubbed from party histories and state media for years, Hu's memory was revived in 2005 on the 90th anniversary of his birth. Then-President Hu Jintao, a former protege, later visited Hu's Beijing home and state media praised him as a man devoted to the people.
However, when students' protests demanding greater political liberalization emerged in 1986, Hu was made the scapegoat by former close political ally Deng Xiaoping.
In January 1987, Hu resigned as party secretary general and was forced to issue a humiliating self-criticism, although he retained his position on the all-powerful Politburo Standing Committee.
His death from a heart attack on April 15, 1989, sparked a movement to mourn his memory that quickly snowballed into demands from students, workers and others for sped-up economic and political reforms that met stiff opposition from Deng and others in the party's old guard.